apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject sqlite3 dbd provider question
Date Mon, 19 May 2008 18:07:28 GMT
I'm reviewing the providers themselves and trying to determine how and when
the dbd lock api should be used vs. a dso-module apr-util wide mutex should
be used instead.

The oracle provider alone is using this lock to prepare statements.  While
the sqlite3 provider seems to use it much more extensively, and the other
providers aren't using it at all.

Can someone explain the discrepancy, and if they shouldn't be per-provider
mutexes so we aren't blocking in silly ways between providers accessed by
different threads?

View raw message