]> gitweb.factorcode.org Git - factor.git/commit
VM: attempt to cancel blocking system calls when ctrl-c is pressed
authorBjörn Lindqvist <bjourne@gmail.com>
Tue, 25 Mar 2014 16:44:55 +0000 (17:44 +0100)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 11 May 2014 01:13:04 +0000 (18:13 -0700)
commit0226718a82b8d21d86d34c37ef6ec575d99e7867
treea01ad9c81bc99c7c729a89ba3b5cfa691ad2681f
parente2eebdec4d0659c5a511c67bed0e778b5479a0a7
VM: attempt to cancel blocking system calls when ctrl-c is pressed

Windows runs ctrl-c in its own thread and doesn't by itself interrupt
blocking system calls when it is pressed. Therefore you have to manually
send an interrupt signal to the stuck thread.
vm/main-windows.cpp
vm/mvm-windows.cpp
vm/os-windows.cpp
vm/os-windows.hpp