On Tue, 15 Apr 2008 13:15:13 -0300 "Gustavo Sverzut Barbieri"
<[EMAIL PROTECTED]> babbled:

> For simplicity, I would just process one message per callback from
> ecore_fd_main... but we can also use a poll/select inside this
> function and do what you want, without the need to fcntl to
> NONBLOCKING.

just read a buffer of messages - if we don't get a complete message, store the
partial one and keep it until the next call to process events then complete the
message fetch.

> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi
> Embedded Systems
> --------------------------------------
> MSN: [EMAIL PROTECTED]
> Skype: gsbarbieri
> Mobile: +55 (81) 9927 0010


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to