Small. Fast. Reliable.
Choose any three.
*** 87,93 ****
  localtime() C API, which is not threadsafe.  The call to localtime()
  in SQLite is
  protected by a mutex, so the "localtime" modifier is safe to use as long
! as nothing else in your program calls localtime() independently of SQLite.
  
  Any aspect of SQLite that is not mentioned above is considered threadsafe.
  If you have doubts, ask on the mailing list.
--- 87,93 ----
  localtime() C API, which is not threadsafe.  The call to localtime()
  in SQLite is
  protected by a mutex, so the "localtime" modifier is safe to use as long
! as nothing else in your program calls localtime() independently of SQLite. Note: in Linux/GNU LIBC gmtime() shares the same global time structure used by localtime(), so your program may not be able to call gmtime() safely in a multithreaded environment with SQLite. In general if you can guarantee that your program exclusively uses the _r variants of all the POSIX date functions, you are probably okay.
  
  Any aspect of SQLite that is not mentioned above is considered threadsafe.
  If you have doubts, ask on the mailing list.