Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Enhance implementation of the Win32 thread wait function. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | threads |
Files: | files | file ages | folders |
SHA1: |
049b04117353c3e163ffc87916cbe121 |
User & Date: | mistachkin 2012-07-23 02:00:38.699 |
Context
2012-07-23
| ||
06:47 | Add an assert() to help verify the return code from the Win32 thread wait function. (check-in: ed3dc7a89f user: mistachkin tags: threads) | |
02:00 | Enhance implementation of the Win32 thread wait function. (check-in: 049b041173 user: mistachkin tags: threads) | |
2012-07-21
| ||
22:49 | Add Win32 support to the internal threads interface. Also, add several asserts and fix a few typos. (check-in: 793195d371 user: mistachkin tags: threads) | |
Changes
Changes to src/os_win.c.
︙ | ︙ | |||
942 943 944 945 946 947 948 | osWaitForSingleObjectEx(sleepObj, milliseconds, FALSE); #else osSleep(milliseconds); #endif } DWORD sqlite3Win32Wait(HANDLE hObject){ | > | > > | 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 | osWaitForSingleObjectEx(sleepObj, milliseconds, FALSE); #else osSleep(milliseconds); #endif } DWORD sqlite3Win32Wait(HANDLE hObject){ DWORD rc; while( (rc = osWaitForSingleObjectEx(hObject, INFINITE, TRUE))==WAIT_IO_COMPLETION ){} return rc; } /* ** Return true (non-zero) if we are running under WinNT, Win2K, WinXP, ** or WinCE. Return false (zero) for Win95, Win98, or WinME. ** ** Here is an interesting observation: Win95, Win98, and WinME lack |
︙ | ︙ |