Re: Bug#326648: libsqlite3-0: database handles can't be shared among threads any more
On Mon, Sep 05, 2005 at 03:34:42PM +0200, Florian Weimer wrote:
> * 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.
>
That's obvious, Florian pointed a limit on a per-thread locking,
not a per-thread one. So what?
--
Francesco P. Lovergine
Reply to: