Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
test_async.c File Reference
#include "sqliteInt.h"
#include "os.h"
#include <tcl.h>

Go to the source code of this file.

Defines

#define THREADSAFE   0

Functions

int Sqlitetestasync_Init (Tcl_Interp *interp)

Define Documentation

#define THREADSAFE   0

Definition at line 79 of file test_async.c.


Function Documentation

int Sqlitetestasync_Init ( Tcl_Interp *  interp)

Definition at line 1251 of file test_async.c.

                                            {
#if OS_UNIX && THREADSAFE && defined(SQLITE_ENABLE_REDEF_IO)
  Tcl_CreateObjCommand(interp,"sqlite3async_enable",testAsyncEnable,0,0);
  Tcl_CreateObjCommand(interp,"sqlite3async_halt",testAsyncHalt,0,0);
  Tcl_CreateObjCommand(interp,"sqlite3async_delay",testAsyncDelay,0,0);
  Tcl_CreateObjCommand(interp,"sqlite3async_start",testAsyncStart,0,0);
  Tcl_CreateObjCommand(interp,"sqlite3async_wait",testAsyncWait,0,0);
  Tcl_LinkVar(interp, "sqlite3async_trace",
      (char*)&sqlite3async_trace, TCL_LINK_INT);
#endif  /* OS_UNIX and THREADSAFE and defined(SQLITE_ENABLE_REDEF_IO) */
  return TCL_OK;
}