I am new to FMDB, I am using FMDBQueue to avoid any threading issues, but for some reason when it try to get the data from and operation queue, it is going to semaphore wait. I have attached a thread stack, can someone please check it and help me with understanding the issue?. How can we make sure that we run FMDB calls on a single thread?.
Asked
Active
Viewed 156 times
1 Answers
4
FMDatabaseQueue isn't reentrant. Thread 23 is trying to do that. (You can't call inDatabase: from within inDatabase:)

ccgus
- 2,906
- 23
- 18
-
I have 3 threads doing inDatabase. Can you please help in understanding the issue clearly. I am confused. @ccgus – Vijay Feb 20 '14 at 05:29