View Single Post
  #4  
Old 01-02-2020, 04:02 PM
peterigz
Fire Beetle
 
Join Date: Dec 2009
Posts: 4
Default

I think you'd probably be ok to do that Huppy, just have to be careful to only merge in the relevant changes, not sure how much changed in net/main.cpp since your version.

Quote:
We might just need to actually check the return value and run the event loop sooner.
I think letting LibUV handle the main loop simplifies things. Those sleeps are gone now but I didn't notice any difference in CPU usage either, it might even be slightly lower for us now.
Reply With Quote