Re: [Boost-bugs] [Boost C++ Libraries] #6058: semaphore_timed_wait() behaviour inconsistent with glibc sem_timedwait()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6058: semaphore_timed_wait() behaviour inconsistent with glibc sem_timedwait()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-23 13:07:38


#6058: semaphore_timed_wait() behaviour inconsistent with glibc sem_timedwait()
---------------------------------------------+------------------------------
  Reporter: Frank <frank.kusters@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
---------------------------------------------+------------------------------

Comment (by igaztanaga):

 I think your questions means a bug in Interprocess. According to

 http://pubs.opengroup.org/onlinepubs/000095399/functions/sem_timedwait.html

 "Under no circumstance shall the function fail with a timeout if the
 semaphore can be locked immediately. The validity of the abs_timeout need
 not be checked if the semaphore can be locked immediately"

 The implementation should not check the timeout before trying to lock the
 semaphore

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6058#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:08 UTC