Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9008: [Boost.Interprocess] conditions variables fast enough only when opening a multiprocess browser
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-20 08:46:14
#9008: [Boost.Interprocess] conditions variables fast enough only when opening a
multiprocess browser
----------------------------------------------+--------------------------
Reporter: Marcello <marcello.pietrobon@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+--------------------------
Changes (by igaztanaga):
* owner: => igaztanaga
* component: None => interprocess
Comment:
I've replaced all thread_yield with a new yield(unsigned) call that is
based on Boost.SmartPointer's "yield_k" functions. This function
increasingly tries to use heavier wait functions. First mm_pause, then
SwitchToThread/Sleep(0) and finally Sleep(1).
Iteration thresholds are taken from Boost.SmartPointer code, and those
might not be optimal for all CPU types, number of concurrent threads, etc.
I'll fix the bug with the commit, but reopen it if this doesn't solve the
issue.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9008#comment:2> 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 : 2017-02-16 18:50:13 UTC