ccgus/fmdb — Issue #39: FMDatabasePool causing DB getting locked
Author: underkin
Created: 2011-12-09 00:16:35+00:00
State: open

Hi,

I have an app which now uses several threads, so I needed to use to the FMDatabasePool.
I get my app locked, and debugging I see 2 threads stopped in the usleep(20) because the DB is 'SQLITE_BUSY', one in an executeUpdate, and other in 'FMResultSet:next.

As you can imagine, that was not happening when I used just 1 thread approach.

Any idea what is going on?

Kind regards