diff --git a/vm/os-unix.cpp b/vm/os-unix.cpp index a0963a9385..90ce67e0d0 100755 --- a/vm/os-unix.cpp +++ b/vm/os-unix.cpp @@ -330,6 +330,10 @@ void *stdin_loop(void *arg) unsigned char buf[4096]; bool loop_running = true; + sigset_t mask; + sigfillset(&mask); + pthread_sigmask(SIG_BLOCK, &mask, NULL); + while(loop_running) { if(!safe_read(control_read,buf,1))