delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/24/10:56:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=eIPTM6HkFk2bpudGYC9BYlMZ331/VpBj8nUiyP/ZZ0b7zQbVOWjiQ
HWr/6pSggoZjhQPeLeJpyMvWj+zSj2xzIpiUK0eGAh2i5D8qslwxMxUMv5PSuXVV
pQ0X0wjsnnUVe7HIfS/u9YikwUBaUAiRT53WJZsOMR1cMpE9eUrmwQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=jnamlvAQzSuNjOEu35ha+plR1O8=; b=F7SlHqJVgrXqh7Nw9BDrABDKluSK
jtFnXFrrqihJjUtLutJ6RZeCjPKMup1VMLoObqATg0TI3vMnKGa+GE4rgSGZ5l2x
7sIlO7fqbcUBBs/sBDu0FENp0rE1xS1Qvgz4Jyq26XFmc2iCfdXx/ay/IwGG13hx
Vf2MYdut/4gt6Es=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.2 required=5.0 tests=AWL,BAYES_05,FSL_HELO_NON_FQDN_1,HELO_LOCALHOST,RCVD_IN_PBL,RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18tZl5dTeVUeOBpJmsh2xex
Date: Tue, 24 Sep 2013 10:55:57 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sem_getvalue returns the semaphore count, while not setting the actual semaphore counter
Message-ID: <20130924145557.GA4813@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <FDCE19ABDB9E0E4AAC59D533D365D2AF0170C38983 AT EXCHSRV02 DOT deif DOT com> <524182BA DOT 3050002 AT cs DOT utoronto DOT ca>
MIME-Version: 1.0
In-Reply-To: <524182BA.3050002@cs.utoronto.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019