Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Pool: singleton_pool - thread safe for any kind of threads?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-04-07 19:46:22


On 04/07/2017 01:26 PM, Igor Yakushin via Boost-users wrote:
> singleton_pool documentation claims that it is thread safe. It is not clear
> too me if this is applied to all kinds of threads or only the ones from
> Boost library. For example, I am using OpenMP which is external to Boost.
> Would singleton_pool still be thread safe or do I need to redefine Mutex?
> What if I later decide to use some other kind of threads like Intel Cilk
> Plus or TBB?

  It doesn't matter how you start the threads.
They're all the same thing under the hood.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at