diff options
Diffstat (limited to 'rts/win32/ThrIOManager.c')
-rw-r--r-- | rts/win32/ThrIOManager.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rts/win32/ThrIOManager.c b/rts/win32/ThrIOManager.c index d614d49a0c..6bbf65a45f 100644 --- a/rts/win32/ThrIOManager.c +++ b/rts/win32/ThrIOManager.c @@ -161,3 +161,13 @@ ioManagerStart (void) rts_unlock(cap); } } + +/* + * Called to close the io_manager_event handle when the IO manager thread is + * terminating. + */ +void +ioManagerFinished(void) +{ + CloseHandle(io_manager_event); +} |