Subject: [Boost-bugs] [Boost C++ Libraries] #8797: semaphores for boost.thread
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-08 08:55:23
#8797: semaphores for boost.thread
------------------------------+----------------------
Reporter: timblechmann | Owner: anthonyw
Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
------------------------------+----------------------
this patch adds support for semaphores to boost.thread.
in addition to an emulation with mutex/condition_variable/counter, it
provides native implementations for win32, posix and dispatch semaphores.
the reason for adding native implementations is performance: they perform
much better than an emulation. on osx, i have seen a speedup of 80 in
microbenchmarks with strong contention.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8797> 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