Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost] Boost.Fiber mini-review September 4-13
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-09-05 14:49:33


2015-09-05 20:45 GMT+02:00 Hartmut Kaiser <hartmut.kaiser_at_[hidden]>:

>
> > > because you mentioned you have already solved this problem you could
> give
> > > me a hint/some little help?
>
> We don't have a fiber_manager so we don't need to solve this problem.
>

but you told us that you use TLS in your fibers and it is completely safe
to migrate the fibers to other threads?!
how do you achieve that a migrated fiber accesses the correct object,
stored in TLS, of the current thread
and not the object of the thread the fiber was migrated from?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net