I wrote the previous post yesterday but since it was my first it had to be 
moderated before showing up.

Since then I did some more investigation and it turns out that the channel is 
indeed read in channel_read(...), but then the blocking select() prevents the 
incoming message to be processed.
As soon as the blocking select returns (when I press a key), 
channel_parse_messages(...) is called and parses the buffer read before the 
select()-call.

I expect that select() should be called with 0 timeout as long as the channel 
buffers haven't been processed entirely, is that a correct assumption? Should I 
write an issue in the github tracker?

Regards, Pontus

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/bc265408-3008-41bf-860b-0d6e7d639bf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui