jalvesaq/VimCom — pull request #11 by dernst (2014-07-28 17:45:53+00:00)
Title: block SIGINT in server thread

In POSIX threads signals might trigger the corresponding signal handler in *any* thread. SIGINT (caused by pressing Ctrl-C) should always be handled by the main thread and not in the server thread. On my system (FreeBSD) a SIGINT with vimcom loaded always causes a segmentation fault. YMMV but it should be safe to always block SIGINT in this thread.