Skip to content
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

Open
ashleyh opened this issue Jan 20, 2014 · 2 comments
Open

signals #5

ashleyh opened this issue Jan 20, 2014 · 2 comments

Comments

@ashleyh
Copy link

ashleyh commented Jan 20, 2014

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.

@tarruda
Copy link
Owner

tarruda commented Jan 21, 2014

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

@justinmk
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants