Fix Windows setitimer() emulation to not depend on delivering an APC
to the main thread. This allows removal of WaitForSingleObjectEx() calls from the main thread, thereby allowing us to re-enable Qingqing Zhou's CHECK_FOR_INTERRUPTS performance improvement. Qingqing, Magnus, et al.
Showing
- src/backend/port/win32/signal.c 1 addition, 11 deletionssrc/backend/port/win32/signal.c
- src/backend/port/win32/socket.c 2 additions, 2 deletionssrc/backend/port/win32/socket.c
- src/backend/port/win32/timer.c 80 additions, 33 deletionssrc/backend/port/win32/timer.c
- src/include/miscadmin.h 3 additions, 2 deletionssrc/include/miscadmin.h
- src/include/port/win32.h 1 addition, 2 deletionssrc/include/port/win32.h
Loading
Please register or sign in to comment