-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
3
The C++ ASIO library provides both synchronous and asynchronous network operations, where the main difference is a synchronous call blocks the thread calling to it while the asynchronous has its callback eventually called to. To make it even worse, some methods depend on an internal boolean flag to decide which one to call. This is a slippery slope for first-time readers.
This is a time boxed investigation effort to understand, document and potentially change the behavior. I would like to believe blocking calls aren't pervasively used, and if so, could be retired to their own codepath / file / class...