I’m doing asynchronous processing of events using boost::io_service via the post() method with a boost::bind object. Does anyone know if this causes a new allocation? I know there is an event queue underneath but I’m know sure how it works fully. Obviously I’m concerned about high-performance.
I’m doing asynchronous processing of events using boost::io_service via the post() method with a
Share
Yes, it causes an allocation. In case the allocation is a performance problem, you can use a custom allocator for the handler.