delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/12/14:56:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090612084932.GC5039@calimero.vinschen.de>
References: <94b5b62d0906112150g473b49fao41f95c3a1c6e6014 AT mail DOT gmail DOT com> <20090612084932 DOT GC5039 AT calimero DOT vinschen DOT de>
Date: Fri, 12 Jun 2009 15:56:14 -0300
Message-ID: <94b5b62d0906121156m197fc1f4j3c83c3796c741de4@mail.gmail.com>
Subject: Re: 1.7.0 sem_open
From: Pedro Izecksohn <pedro DOT izecksohn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

  Corinna Vinschen read my mind.

> What is semtool?

semtool - A utility for tinkering with semaphores

USAGE:  semtool  (c)reate <semcount>
                 (l)ock <sem #>
                 (u)nlock <sem #>
                 (d)elete
                 (m)ode <mode>

  It comes in some package available through the Cygwin's installer. I
do not understand how to use it.

>> =C2=A0 I wrote an example that works on Jaunty on x86-64 but not on Cygw=
in:
>> http://www.izecksohn.com/pedro/c/semaphores/semaphores.tar.gz
>
> Works for me.

  The persistence of the semaphore also works for you?

  For me, using the unpatched version, (not the CVS version), the
persistence works some times only. At other times the semaphore
disappears with the Control c.

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

- Raw text -


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