apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: apr_dbd: a generic SQL wrapper
Date Thu, 09 Dec 2004 19:39:54 GMT
On Thu, 9 Dec 2004, Garrett Rooney wrote:

> MySQL's API requires you to call a function at startup in order to
> ensure thread safety.  Is there any provision for doing this in your design?

Had a think about that.  The obvious answer is an apr_dbd_init function
running an optional init from each provider, with a static var to ensure
it only runs once.  Which then raises the followup question: do we
want a thread_init too?  Simple to add, of course.

-- 
Nick Kew

Mime
View raw message