[ENet-discuss] wake-up enet service
Jack Applegame
japplegame at gmail.com
Wed Aug 1 23:58:40 PDT 2012
Hello!
I use separate thread for calling enet_host_service() with 1 second timeout.
Is there a way to wake-up ENet from other thread, if It is necessary to
send a packet immediately without waiting for timeout?
Setting timeout to zero isn't good way, because in this case service
thread fully loads one processor core even if it is no network activity.
Best regards
Jack Applegame
More information about the ENet-discuss
mailing list