[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#326648: libsqlite3-0: database handles can't be shared among threads any more



* Francesco P. Lovergine:

>> I intended to write the opposite: file locks are a per-process
>> resource in NPTL, so NPTL probably has the problems, and LinuxThreads
>> doesn't.
>
> A question: why using file locking instead of thread mutexes (which
> is the proper answer to syncronization issues in a thread-safe
> architecture)?

SQLite databases (and Subversion repositories) are intended to be
opened concurrently by multiple processes.



Reply to: