Boost logo

Boost Users :

Subject: [Boost-users] Boost.Pool: singleton_pool - thread safe for any kind of threads?
From: Igor Yakushin (ivy2_at_[hidden])
Date: 2017-04-07 19:26:21


Hi All,
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?
Thank you,
Igor



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