Re: [Boost-bugs] [Boost C++ Libraries] #13442: pmr::synchronized_pool_resource is affected by thread priority inversion

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13442: pmr::synchronized_pool_resource is affected by thread priority inversion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-09 17:17:32


#13442: pmr::synchronized_pool_resource is affected by thread priority inversion
-------------------------------+---------------------------
  Reporter: enniobarbaro@… | Owner: Ion Gaztañaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by Ion Gaztañaga):

 I can't see any sensible fix, synchronized_pool_resourc is not thought to
 be prepared to handle priority inversion and several platforms don't
 support something like PTHREAD_PRIO_INHERIT and the default pthread
 implementation might not support priority inheritance protocol. I don't
 know if also setting this flag can affect performance for the common case.

 Maybe you should build the library using USE_SPIN_LOCKS=0 and this should
 be at least documented.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13442#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-02-09 17:22:31 UTC