On 09/06/2011 01:40 AM, Jacky Liu wrote:
        " x-bug.vim

        python3<<  EOF

        import threading
        import time

        print('thread 1')

        def print_to_vim():
                print('thread 2')

        threading.Thread(name='test', target=print_to_vim).start()

        print('thread 1 again')

        time.sleep(3)

        EOF

It's a little weird, since I'm using python to do multithread things and it works very well:

http://www.vim.org/scripts/script.php?script_id=3219

I'll explore this later.

-- Hong

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

Reply via email to