This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sem_getvalue returns the semaphore count, while not setting the actual semaphore counter


On Tue, Sep 24, 2013 at 05:16:58AM -0700, Ryan Johnson wrote:
>On 24/09/2013 5:04 AM, Tue Henriksen wrote:
>> problems with sem_getvalue function
><snip>
>> On success, it should return 0, otherwise -1. However, it looks like the function lately has been changed so it now returns the semaphore count, and leaves '*sval' unchanged.
>A patch to fix this was submitted recently [1], you might want to see 
>whether the current snapshot has the fix yet [2].
>
>[1] http://cygwin.com/ml/cygwin-patches/2013-q3/msg00006.html
>[2] http://cygwin.com/snapshots/

This was not submitted.  I asked some questions which the OP never
answered.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]