[Geany-devel] Request: multithreaded tag generation?

Lex Trotman elextr at xxxxx
Tue Nov 8 08:59:24 UTC 2011

On Tue, Nov 8, 2011 at 7:49 PM, Thomas Martitz
<thomas.martitz at student.htw-berlin.de> wrote:
> Am 08.11.2011 03:13, schrieb Lex Trotman:
>> Not so easy, from the sqlite faq:
>> (6) Is SQLite threadsafe?
>>     Threads are evil. Avoid them.
>> And what they don't mention is that you can deadlock your system if
>> the access isn't coordinated, ... back to square one.
> They do mention though that SQLite is thread-safe, and that a db connection
> can be shared across threads. So your quote draws things worse than they
> are.

True, the problem really is in how the threads access the d/b so they
don't get in each other's way.

> Doesn't Anjuta use SQLite? Are they using it multi-threaded?

I did suggest to Matthew on IRC that we steal Anjuta's code :)


More information about the Devel mailing list