delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Wed, 19 May 2004 09:27:51 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Unsufficient number of semaphores in a set |
Message-ID: | <20040519072751.GH1387@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <c8e8ft$5ij$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <c8e8ft$5ij$1@sea.gmane.org> |
User-Agent: | Mutt/1.4.2i |
On May 19 02:08, Krzysztof Duleba wrote: > Hello > > I expreience strange Cygwin behaviour when I try to create a big semaphore > set. I wrote a simple test case as following: > [...] > My Cygwin returns: > > $ echo 59|./semtest > ok > > $ echo 60|./semtest > ok > > $ echo 61|./semtest > 22; Invalid argument > > > > On my friend's Linux box: > > $ echo 61|./semtest > ok > $ echo 250|./semtest > ok > $ echo 251|./semtest > 22; Invalid argument > > > In /usr/include/cygipc/sys one can find > > #define SEMMSL 32 /* <= 512 max num of semaphores per id */ > > It's obviously not the case. How can I have Cygwin allowing semaphore set > of size 250? First question: Are you using cygipc or cygserver? If you're using cygipc, somebody else will have to answer your question. If you're using cygserver, the include files in /usr/include/cygipc are irrelevant. Look into /usr/include/sys. If you want to change the values, reading /usr/share/doc/Cygwin/cygserver.README will help. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |