1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0

option always removes all mutex code.  For application-defined mutexes only,
use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1.  Ticket #3421. (CVS 5779)

FossilOrigin-Name: 02a12eb1cfe9307c66556105a1a99d657cc01ab5
This commit is contained in:
drh
2008-10-07 15:25:48 +00:00
parent 3d9cf5177f
commit 18472fa7b8
24 changed files with 322 additions and 242 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is multithreading behavior
#
# $Id: thread1.test,v 1.7 2004/06/19 00:16:31 drh Exp $
# $Id: thread1.test,v 1.8 2008/10/07 15:25:49 drh Exp $
set testdir [file dirname $argv0]
@ -19,6 +19,10 @@ source $testdir/tester.tcl
# Skip this whole file if the thread testing code is not enabled
#
ifcapable !mutex {
finish_test
return
}
if {[llength [info command thread_step]]==0 || [sqlite3 -has-codec]} {
finish_test
return