-
Notifications
You must be signed in to change notification settings - Fork 20
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
synchronous call for client #82
Comments
Hello, what upside so you see in having a blocking API while you can just |
I use asio with 70% of its functionality disabled because in my environment the use of threads is prohibited and unavailable. |
Async doesn't need multiple threads, on the contrary it is most useful in single threaded contexts. |
No, I mean that in Boost and Asio there are settings via defines. There is such a define as BOOST_DISABLE_THREADS, which disables threads, and accordingly all asynchronous calls. It would be very kind of you to implement a synchronous call on the client, since asynchronicity and threads are not supported in every runtime. |
Thanks for the context. Is there any other configuration macro you are interested in apart from ASIO_DISABLE_THREADS ? |
Hello library developer! I ask you to please add a synchronous call for the client. Asynchrony is not possible in all environments, so this will be very useful and I think not only for me.
The text was updated successfully, but these errors were encountered: