diff options
author | Kenny Root <kenny@the-b.org> | 2009-08-14 17:52:55 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2009-08-14 17:52:55 +0000 |
commit | 481373f34a955488606c580d87e1a74efbc6b307 (patch) | |
tree | c2fad2572bddfaff59a8c6cbf1110b2b296d6345 /src/gnu/java | |
parent | 9c092118f8ebd2cd3b40f8a689c234b450778b11 (diff) | |
download | connectbot-481373f34a955488606c580d87e1a74efbc6b307.tar.gz connectbot-481373f34a955488606c580d87e1a74efbc6b307.tar.bz2 connectbot-481373f34a955488606c580d87e1a74efbc6b307.zip |
Prevent race conditions in DB access
Previous assumptions I held about SQLiteOpenHelper's behavior are
completely wrong, so hold a lock whenever we access the database. This
allows us to use the DB in multiple threads (which occasionally
happens).
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@397 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'src/gnu/java')
0 files changed, 0 insertions, 0 deletions