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

Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater

than 0.

FossilOrigin-Name: f37db3a03d95b508066745613029b7dd1240b31c
This commit is contained in:
drh
2014-07-29 15:18:00 +00:00
parent 011b2e5dd3
commit 19f30dc171
3 changed files with 8 additions and 8 deletions

View File

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