aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_unix.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-06-19 08:51:23 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-06-19 08:51:23 +0000
commit4a9d1f665f67ddbfffd76e7691e7a024093b80c8 (patch)
tree98f06fb2547531dda4e426943215ee6a1ebc1140 /src/mutex_unix.c
parentbb5a9c3eea276ff67a2823df1cad92a3af1be354 (diff)
downloadsqlite-4a9d1f665f67ddbfffd76e7691e7a024093b80c8.tar.gz
sqlite-4a9d1f665f67ddbfffd76e7691e7a024093b80c8.zip
Shuffle some of the mutex related documentation in sqlite.h.in to match the new sqlite3_mutex_methods based API. (CVS 5244)
FossilOrigin-Name: 9cd7f8669a59c6096331229df2e2ad87e628abab
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r--src/mutex_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c
index 7b5ca7616..55c3929be 100644
--- a/src/mutex_unix.c
+++ b/src/mutex_unix.c
@@ -11,7 +11,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for pthreads
**
-** $Id: mutex_unix.c,v 1.10 2008/06/18 09:45:56 danielk1977 Exp $
+** $Id: mutex_unix.c,v 1.11 2008/06/19 08:51:24 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -307,12 +307,12 @@ static void pthreadMutexLeave(sqlite3_mutex *p){
sqlite3_mutex_methods *sqlite3DefaultMutex(void){
static sqlite3_mutex_methods sMutex = {
pthreadMutexInit,
+ pthreadMutexEnd,
pthreadMutexAlloc,
pthreadMutexFree,
pthreadMutexEnter,
pthreadMutexTry,
pthreadMutexLeave,
- pthreadMutexEnd,
pthreadMutexHeld,
pthreadMutexNotheld