11 Jan
2014
11 Jan
'14
6:40 p.m.
2014/1/11 Vicente J. Botet Escriba
Boost.Thread interruption feature adds some overhead to all the synchronization functions that are interruption_points. It is too late for Boost.Thread, but what do you think about having a simple fiber class and an interruptible::fiber class?
boost.fiber already support interruption (boost::fibers::fiber::interrupt()) - in contrast to boost.thread it is simply a flag in an atomic variable.