aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-08-21 13:51:23 +0000
committerdrh <drh@noemail.net>2007-08-21 13:51:23 +0000
commit51fc347a2ef312dad4bff734d9c6e316d4e6a9f6 (patch)
tree30306e344f8c6368a7dc2435f3621705313c96aa /src/os_unix.c
parent46abae817e4ae160048a8604e096aa1ca5c7a060 (diff)
downloadsqlite-51fc347a2ef312dad4bff734d9c6e316d4e6a9f6.tar.gz
sqlite-51fc347a2ef312dad4bff734d9c6e316d4e6a9f6.zip
Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259)
FossilOrigin-Name: 6225cd461cdd2132eeb480aa4deb8986b7f63c15
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index a268f28bc..066ae6e58 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -373,10 +373,10 @@ typedef enum {
** Helper functions to obtain and relinquish the global mutex.
*/
static void enterMutex(){
- sqlite3_mutex_enter(sqlite3_mutex_alloc(SQLITE_MUTEX_GLOBAL));
+ sqlite3_mutex_enter(sqlite3_mutex_alloc(SQLITE_MUTEX_STATIC_MASTER));
}
static void leaveMutex(){
- sqlite3_mutex_leave(sqlite3_mutex_alloc(SQLITE_MUTEX_GLOBAL));
+ sqlite3_mutex_leave(sqlite3_mutex_alloc(SQLITE_MUTEX_STATIC_MASTER));
}
#if SQLITE_THREADSAFE