1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). Not doing so causes notifier related errors on OSX.

FossilOrigin-Name: 684eae6623ef1d0336b7a734b17ed307c720b6f4
This commit is contained in:
dan
2010-07-05 12:54:08 +00:00
parent 6310990d54
commit 3374f8aee4
4 changed files with 10 additions and 8 deletions

View File

@@ -84,6 +84,7 @@ static Tcl_ThreadCreateType tclWriterThread(ClientData pIsStarted){
*((int *)pIsStarted) = 1;
sqlite3async_run();
Tcl_MutexUnlock(&testasync_g_writerMutex);
Tcl_ExitThread(0);
TCL_THREAD_CREATE_RETURN;
}