AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite
http://alexdenisov.github.com/iActiveRecord/
MIT License
354 stars 50 forks source link

Multithreading in iActiveRecord #12

Closed KanybekMomukeyev closed 10 years ago

KanybekMomukeyev commented 12 years ago

What about concurrency, can we for example: (1) in background write/read data ? (2) Use GCD ?

AlexDenisov commented 12 years ago

I have not tried this yet, but I don't see any problems for this. Just try it, and if you have any difficulties - please let me know. Also, feel free to contribute ;-)

mgod commented 11 years ago

@KanybekMomukeyev I had some issues with this and @AlexDenisov has just patched master (https://github.com/AlexDenisov/iActiveRecord/commit/cc70ef8c3935ae52ada72fa214783c22302ef32f) to incorporate GCD for background read/write based on code I've been using successfully for a month or so.