On 07/09/2010 08:35 PM, Marc Weber wrote:
Excerpts from H Xu's message of Fri Jul 09 14:26:52 +0200 2010:
> hello everybody,
>
> could somebody tell me that vimscript can be multithreaded? thank you!
Vim is not thread safe. There is one way: Use python and threads or
the like.
However if you call back into Vim from a different thread it is likely
to crash.
You can callback into Vim safely using the client-server feature.
My implementation illustrating it:
http://github.com/MarcWeber/vim-addon-background-cmd
What's your exact use case?
Marc Weber
Hello,
I want to generate tags by using ctags automatically after I save the
file, and I want tags to be generated in another thread, so it won't
affect my current work.
Xu
07/10/2010
--
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