delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/19/14:41:34

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: Thu, 19 Jun 2003 12:39:46 -0600
From: Mark Paulus <mark DOT paulus AT mci DOT com>
Subject: Re: cygipc semaphores not persistent?
In-reply-to: <bcsm25$vbd$1@main.gmane.org>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-id: <0HGQ00JM8RU99X@pmismtp01.wcomnet.com>
MIME-version: 1.0
Priority: Normal

Are you running the ipcdaemon process?  At one time
the cygipc libraries required the ipcdaemon process
to manage the global objects.  I thought I read something
that the ipc-daemon is going away, and being incorporated
into the cygwin architecture, but I did not gather that it had
happened yet.  That may be a misunderstanding on my
part however.

On Thu, 19 Jun 2003 11:49:30 -0400, Joe Buehler wrote:

>I am attempting to use cygipc for its semaphore functionality
>in porting some existing UNIX code.
>
>It would appear that semaphores are not persistent?
>
>The code depends on the UNIX semantic of a semaphore being a global
>system object that exists regardless of whether any processes are
>currently using it.
>
>I have processes coming and going, using the semaphore to mediate
>access to a disk-based queue.  I have been debugging the code,
>and it appears that the semaphore is destroyed when no process has
>it open?
>-- 
>Joe Buehler
>
>
>
>--
>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/
>




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