diff options
author | drh <drh@noemail.net> | 2014-07-29 15:18:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-07-29 15:18:00 +0000 |
commit | 19f30dc171b8addb457e1032dba0f126cce61d85 (patch) | |
tree | 260e1340fb13e16924571dc74722f4d73fd556e2 /src | |
parent | 011b2e5dd397e912c686e14d2178bdbcaf79d454 (diff) | |
download | sqlite-19f30dc171b8addb457e1032dba0f126cce61d85.tar.gz sqlite-19f30dc171b8addb457e1032dba0f126cce61d85.zip |
Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater
than 0.
FossilOrigin-Name: f37db3a03d95b508066745613029b7dd1240b31c
Diffstat (limited to 'src')
-rw-r--r-- | src/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads.c b/src/threads.c index 634dda3b7..0f7f8a83b 100644 --- a/src/threads.c +++ b/src/threads.c @@ -150,7 +150,7 @@ int sqlite3ThreadCreate( /* Wait on an object */ DWORD sqlite3Win32Wait(HANDLE hObject){ DWORD rc; - while( (rc = osWaitForSingleObjectEx(hObject, INFINITE, + while( (rc = WaitForSingleObjectEx(hObject, INFINITE, TRUE))==WAIT_IO_COMPLETION ){} return rc; } |