delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/19/15:01:47

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Joe Buehler <jbuehler AT hekimian DOT com>
Subject: Re: cygipc semaphores not persistent?
Date: Thu, 19 Jun 2003 14:53:40 -0400
Organization: Spirent Communications, Inc.
Lines: 19
Message-ID: <3EF206B4.7090609@hekimian.com>
References: <bcsm25$vbd$1 AT main DOT gmane DOT org> <0HGQ00JM8RU99X AT pmismtp01 DOT wcomnet DOT com>
Reply-To: jbuehler AT hekimian DOT com
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
In-Reply-To: <0HGQ00JM8RU99X@pmismtp01.wcomnet.com>
X-Enigmail-Version: 0.75.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Mark Paulus wrote:

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

I spent some time in the guts of the cygipc code, and think I tracked
it down -- nothing was keeping the semaphore handles open but client
processes, so when they all exited, the semaphore went away.

I just posted a patch to fix this -- the ipc-daemon process now
keeps semaphores open as long as they are supposed to exist.
-- 
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/

- Raw text -


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