OLD | NEW |
1 /* | 1 /* |
2 ** 2007 August 14 | 2 ** 2007 August 14 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 */ | 144 */ |
145 int sqlite3_mutex_held(sqlite3_mutex *p){ | 145 int sqlite3_mutex_held(sqlite3_mutex *p){ |
146 return p==0 || sqlite3GlobalConfig.mutex.xMutexHeld(p); | 146 return p==0 || sqlite3GlobalConfig.mutex.xMutexHeld(p); |
147 } | 147 } |
148 int sqlite3_mutex_notheld(sqlite3_mutex *p){ | 148 int sqlite3_mutex_notheld(sqlite3_mutex *p){ |
149 return p==0 || sqlite3GlobalConfig.mutex.xMutexNotheld(p); | 149 return p==0 || sqlite3GlobalConfig.mutex.xMutexNotheld(p); |
150 } | 150 } |
151 #endif | 151 #endif |
152 | 152 |
153 #endif /* SQLITE_MUTEX_OMIT */ | 153 #endif /* SQLITE_MUTEX_OMIT */ |
OLD | NEW |