Hello
I read the python bindings help file (if_python.txt) and I found nothing
about thread safety. Although Vim itself does not use threads, the
invoked python code can create them and than the main thread can return
control to Vim normally. I would like to write a plug-in that listens to
a TCP connection in the background, and somehow notifies Vim when new
data arrives on the socket.
Now, since the documentation says nothing about it, I would assume the
python language bindings are not thread-safe, or even if they are
thread-safe, that is still an undocumented feature. But does anyone have
more specific information please ? Has anyone tried working with treads
from python code in Vim ? Can the help file be updated to mention this
aspect ?
Thank you,
Timothy Madden
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Wednesday, October 24, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment