Danek Duvall wrote: > The channel tests, when run on a couple of the Solaris boxes I'm on, fail > fairly consistently on anywhere from two to six tests, each with timeout > errors. If I make the same concession that we do for MacOS, then they work > consistently. > > I don't like this much, since I feel like there's a race condition lurking > in here somewhere, but I'm really not sure what it is -- whether it's > simply a race between vim's connect() and python's listen() (though an > explicit sleep in the server code immediately after server_thread.start() > doesn't help much), or if there's something internal. > > At any rate, the following patch works for now.
Thanks. I suspect it has something to do with making the socket non-blocking. Perhaps it helps to set it back to blocking before calling select()? I'll use the one msec waittime for all systems for now. -- What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics' meaning 'bloodsucking creatures'. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
