]> gitweb.factorcode.org Git - factor.git/commit
vm: don't SIGQUIT on unix or Ctrl-Break on windows
authorJoe Groff <arcata@gmail.com>
Thu, 10 Nov 2011 21:46:44 +0000 (13:46 -0800)
committerJoe Groff <arcata@gmail.com>
Fri, 11 Nov 2011 00:01:07 +0000 (16:01 -0800)
commit9e4a51c55faff4c4f0b7675f7c343aab2023c2e0
treea7c6be608eaa58ba1478d9bbcdaef35d57477d2f
parente29c4589c4d96058071a83ecbc8d01b09cbcd39c
vm: don't SIGQUIT on unix or Ctrl-Break on windows
This gives us an escape hatch for when things go way south and ^C can't be handled. Also unmask SIGQUIT and SIGTERM from the stdin_loop thread so the thread doesn't keep the process alive after those signals.
vm/os-unix.cpp
vm/os-windows.cpp