-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signals #5
Comments
Its being really painful integrate threads into vim, perhaps we should try to implement multitasking using job control without threading(select-based). Theoretically, if we write some glue vimscript to handle IPC through job control, we can extend vim with any language, without the complexities that come together with threading |
What about python 3.x? http://docs.python.org/dev/library/signal.html#signal.pthread_sigmask |
I've checked with #python-dev and it appears Python 2.7.6 does not call pthread_sigmask on new threads. This is bad news because it means vim's signal handlers could be run on a background thread, in parallel with the main thread (I think...). That is in turn bad news because vim's signal handlers can and do modify global state.
The text was updated successfully, but these errors were encountered: