Friday, October 26, 2012

Re: Thread safety not mentioned for python bindings

El Miércoles, 24 de octubre de 2012, Timothy Madden escribió:
> 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.

I have no idea about this, but I thought in the meanwhile somebody gives an
answer (if any), you could find some information here:

https://github.com/MarcWeber/vim-addon-async

--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net

--
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

No comments: