1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Add the experimental sqlite3_threadsafe() API. (CVS 4350)

FossilOrigin-Name: 1b39a714efbe1f4ccc8daf68a227a8c9b84a388f
This commit is contained in:
drh
2007-08-30 20:09:48 +00:00
parent ad3e78b671
commit b67e8bf071
4 changed files with 35 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.399 2007/08/30 16:23:19 drh Exp $
** $Id: main.c,v 1.400 2007/08/30 20:09:48 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -25,6 +25,7 @@
const char sqlite3_version[] = SQLITE_VERSION;
const char *sqlite3_libversion(void){ return sqlite3_version; }
int sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; }
int sqlite3_threadsafe(void){ return SQLITE_THREADSAFE; }
/*
** If the following function pointer is not NULL and if