Re: [Boost-bugs] [Boost C++ Libraries] #13212: Windows: condition_variable::notify_one consumes semaphore handles

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13212: Windows: condition_variable::notify_one consumes semaphore handles
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-05-18 06:15:12


#13212: Windows: condition_variable::notify_one consumes semaphore handles
-------------------------+-------------------------------------------------
  Reporter: | Owner: viboes
  henri.hakonen@… |
      Type: Bugs | Status: assigned
 Milestone: To Be | Component: thread
  Determined |
   Version: Boost | Severity: Problem
  1.65.0 | Keywords: condition_variable, notify_one,
Resolution: | semaphore, handles, Windows
-------------------------+-------------------------------------------------

Comment (by harris.pc@…):

 A note, perhaps not useful, but regardless:

 I thought I had a handle leak in my program on windows 7/10, so I used
 this test code to try out this particular possibility.

 I tested the attached code test with Boost 1.60.0 + MSVC2010, and it
 worked as expected - ie no handle leak.

 And now I can't seem to reproduce the problem in my program. So I can't
 be sure if it was just a windows quirk that has magically gone away.

 Sorry I don't have something more useful to share

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13212#comment:3>
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-05-18 06:19:40 UTC