--- Joe Wilson <[EMAIL PROTECTED]> wrote:
> I thought there was a checkin a few months ago that made sqlite3 
> threadsafe by default.
> 
>   os_unix.c
>   revision 1.128
>   date: 2007/04/01 18:46:19;  author: drh;  state: Exp;  lines: +4 -1
>   Make unix builds threadsafe by default.
> 
> I guess this is no longer the case?

Okay, it appears that this is new to 3.5. 
THREADSAFE is no longer the default since thread safety is no longer
confined to just os_unix.c.

sqlite 3.4.1:

#ifndef THREADSAFE
# define THREADSAFE 1
#endif
#if THREADSAFE
# include <pthread.h>
# define SQLITE_UNIX_THREADS 1
#endif


latest CVS:

#if SQLITE_THREADSAFE
# include <pthread.h>
# define SQLITE_UNIX_THREADS 1
#endif



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to