| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2006 January 07 | 2 ** 2006 January 07 |
| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 */ | 507 */ |
| 508 void sqlite3_server_stop(void){ | 508 void sqlite3_server_stop(void){ |
| 509 g.serverHalt = 1; | 509 g.serverHalt = 1; |
| 510 pthread_cond_broadcast(&g.serverWakeup); | 510 pthread_cond_broadcast(&g.serverWakeup); |
| 511 pthread_mutex_lock(&g.serverMutex); | 511 pthread_mutex_lock(&g.serverMutex); |
| 512 pthread_mutex_unlock(&g.serverMutex); | 512 pthread_mutex_unlock(&g.serverMutex); |
| 513 } | 513 } |
| 514 | 514 |
| 515 #endif /* SQLITE_OS_UNIX && SQLITE_THREADSAFE */ | 515 #endif /* SQLITE_OS_UNIX && SQLITE_THREADSAFE */ |
| 516 #endif /* defined(SQLITE_SERVER) */ | 516 #endif /* defined(SQLITE_SERVER) */ |
| OLD | NEW |