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

No way to abort enet_host_service #23

Open
comex opened this issue Oct 4, 2013 · 0 comments
Open

No way to abort enet_host_service #23

comex opened this issue Oct 4, 2013 · 0 comments

Comments

@comex
Copy link

comex commented Oct 4, 2013

In various cases I want to want to send a message over an ENetHost or destroy it while another thread is waiting in enet_host_service. Currently this requires waiting for the timeout to expire, which is a waste of time and requires setting a low timeout, which wastes CPU. It would be better to provide a way to abort it, such as having a local pipe/socket that is also selected on.

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

1 participant