delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/11/05:38:32

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=QZtncQB6Z7XrqI8RDRHJWs8OxP3XlL2wyLZn8WIlX39JMkUoqnLsY
fEqo7kw31+93gaTKtbclisEEFNux6zdHPgEyVW9DMe+GhgDLn5m8zB6BJT/1Hjf5
pgyGUanoNrHUHbVaw+uVRaJ4g2RK/vZv6nPSK/udt2kzACq2xy1x5U=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=D3vaONKWuRp2jac12jXNHvKBseM=; b=bPvyo0ngz2aUo6BjWJcbTX1cDOx1
T1SC6L86in0dsR81OMbmq5oivCjhQp7G/e5WdXriq1L1BQWYV/8Ub29s9IS7k8Lu
ddMhpH68JS4thX4t/nGAf/yH1bOGmfcCfTkMae9nCTZw8cYGWOsST+So5bVh5/Zm
qfoYtek9Gy2jdYU=
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: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:621, sk:meenaks, WJFFM, wjffm
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: SEMCTL fails with error 22
Date: Fri, 11 Mar 2016 10:37:44 +0000 (UTC)
Lines: 26
Message-ID: <loom.20160311T113458-266@post.gmane.org>
References: <CAAeFwS2mbvRMkqQLuSZoAyUHLgzzijLWvLOKoWSVXeFw25PcgQ AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Meenakshi Pant <meenakshi.pant28 <at> gmail.com> writes:
> My program creates a semaphore, but moving further the SEMCTL function
> is failing with error 22 with the latest CYGWIN 2.4. The cygserver is
> up.
> 
> Below is the simplified code as a test case.It fails with the same
> error as my original program.

WJFFM with cygserver running.

> ./semtest

 Semaphore Test
 Semaphore created successfully  65536
 Value before errno = 0Semaphore 1492 initialized.

And no error 22 either when not running cygserver.

 > ./semtest

 Semaphore Test
 Unable to obtain semaphore 88


Regards,
Achim.


--
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