Skip to content
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

линукс #68

Open
aameno2 opened this issue Jan 20, 2022 · 1 comment
Open

линукс #68

aameno2 opened this issue Jan 20, 2022 · 1 comment

Comments

@aameno2
Copy link

aameno2 commented Jan 20, 2022

Здравствуйте.
Не очень в плюсах, но в линуксе данный цикл грузит ядро на 100%
while(!thiz->connection->closed()) {
event_base_loop(loop, EVLOOP_NONBLOCK);
}

@72AG-Goosf
Copy link

https://libevent-users.monkey.narkive.com/9zPXxJKv/libevent2-stuck-in-linux-cpu-100
там написано, что это особенность libevent на linux, она грузит на 100%, там чуваки от нее отказались

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants