-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libuv] libuv cost lot's of cpu. #404
Comments
@ncannasse will you take a look? |
I think this is by design, and definitely not HashLink related. |
I think this happens because of the integration of libuv's default loop into Haxe's MainLoop: loopEvent = haxe.MainLoop.add(function() {
// if no more things to process, stop
if (def.run(NoWait) == 0) {
loopEvent.stop();
loopEvent = null;
}
}); https://github.com/HaxeFoundation/haxe/blob/fe23a92264be3853dddb03cf664595f2a07aa196/std/hl/uv/Loop.hx#L49-L55 |
libuv cost lot's of cpu.
why libuv cost lot's of cpu.
just an instance of tcp.
hl 1.12.0
The text was updated successfully, but these errors were encountered: