Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater than 0. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | threads |
Files: | files | file ages | folders |
SHA1: |
f37db3a03d95b508066745613029b7dd |
User & Date: | drh 2014-07-29 15:18:00.197 |
Context
2014-07-29
| ||
16:37 | Make the Win32 thread handles are available after the threads exit. (check-in: 565c5af7a7 user: mistachkin tags: threads) | |
15:18 | Fix the threads build on Windows when SQLITE_MAX_WORKER_THREADS is greater than 0. (check-in: f37db3a03d user: drh tags: threads) | |
14:16 | Merge the R-Tree fix and the new SQLITE_TESTCTRL_ISINIT test control from trunk. (check-in: b2f7eb3cc2 user: drh tags: threads) | |
Changes
Changes to src/threads.c.
︙ | ︙ | |||
146 147 148 149 150 151 152 | *ppThread = p; return SQLITE_OK; } /* Wait on an object */ DWORD sqlite3Win32Wait(HANDLE hObject){ DWORD rc; | | | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | *ppThread = p; return SQLITE_OK; } /* Wait on an object */ DWORD sqlite3Win32Wait(HANDLE hObject){ DWORD rc; while( (rc = WaitForSingleObjectEx(hObject, INFINITE, TRUE))==WAIT_IO_COMPLETION ){} return rc; } /* Get the results of the thread */ int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){ DWORD rc; |
︙ | ︙ |