ruifig / czspas

Minimalistic socket library inspired by Asio/Boost Asio, implemented in 1 single header file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Service::dispatch

ruifig opened this issue · comments

This would be the equivalent of Asio's service::dispatch.
Unlike Service::post, dispatch will execute the handler right away if all the czspas guarantees can be met.

This requires adding a Callstack class similar to what I have in the article http://www.crazygaze.com/blog/2016/03/11/callstack-markers-boostasiodetailcall_stack/