1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

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
This commit is contained in:
danielk1977
2008-06-19 08:51:23 +00:00
parent bb5a9c3eea
commit 4a9d1f665f
8 changed files with 73 additions and 57 deletions

View File

@@ -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