-
Notifications
You must be signed in to change notification settings - Fork 21
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
[NEW FEATURE] New threading mode - no threads #9
Comments
Study progress:
Problems, obstacles ...:
In short, this feature depends on 5., so, if that is solved, the feature will be implemented. Another idea was issued here. It would be very useful to reuse the internal library loop too. |
This feature is unviable to be implemented due to possible blocking calls! An initial implementation was done is this commit, but it locks the entire server when the client calls a route calling a blocking routine. Since MHD already handles it automatically, we are going to let it as it already is. |
Since the fourth threading mode of the core allows to disable the internal threads, it would be nice to provide it in the Sagui library too. It would be useful for those applications that already declares a main loop, so the programmers could use it to periodically process the requests and disable the internal library thread/loop.
The text was updated successfully, but these errors were encountered: