Boost logo

Boost :

Subject: Re: [boost] Boost.Fiber - interruptible fibers
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2014-01-11 13:40:46


2014/1/11 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>

> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk