Introduce macro ASCS_USE_DISPATCH_IN_IO to force to use dispatch_strand in IO operations.
For recv_msg, go back to dispatch_strand if macro ASCS_PASSIVE_RECV is not defined because it cannot be invoked concurrently without the macro.
Showing
想要评论请 注册 或 登录