On Mon, Jun 04, 2012 at 08:41:38AM +0800, 钱晓明 <[email protected]> wrote:
> If there are more than one event loop on same udp socket, and each of
> them in different thread, datagrams will be processed by all threads
> concurrently? For example, one thread is processing udp message while
> new message arrived, another thread would process this one immedately?
Well, with luck, yes. Without luck, all your threads will try to process
the same packet, but only one will succeed, and everything is slow and
awkward :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev