ffi/unsafe win32: fix inefficiency in call-in-orig-thread mode

The problem made simultaneous rendering of "plot" and "math"
documentation about 10 times slower than it should be.
This commit is contained in:
Matthew Flatt 2014-09-05 10:05:31 -06:00
parent f885d98d60
commit 59d3663106

View File

@ -10803,7 +10803,7 @@ void scheme_wait_until_signal_received(void)
# endif
#else
# if defined(WINDOWS_PROCESSES) || defined(WINDOWS_FILE_HANDLES)
WaitForSingleObject((HANDLE)scheme_break_semaphore, 0);
WaitForSingleObject((HANDLE)scheme_break_semaphore, INFINITE);
# endif
#endif