[android-developers] Do I need to protect my code from possible database create/upgrade race conditions?
I have an activity with 2 background threads accessing the same
database. In each background thread I am using SQLiteOpenHelper to
open the database. Do I need to worry about onCreate and onUpgrade
potentially being called on each thread?
--
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home