delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/12/07:40:40

X-Spam-Check-By: sourceware.org
Date: Mon, 12 Mar 2007 13:40:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin cygwin <cygwin AT cygwin DOT com>
Subject: Re: Difference Between CYGIPC And CYGServer
Message-ID: <20070312124009.GA30716@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin cygwin <cygwin AT cygwin DOT com>
References: <759081 DOT 64634 DOT qm AT web7610 DOT mail DOT in DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <759081.64634.qm@web7610.mail.in.yahoo.com>
User-Agent: Mutt/1.4.2.2i
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

On Mar  9 16:41, neo napster wrote:
> After goining through the code of shm.h and shm.c of Cygipc V1.09 that we are using, 
> we have noticed that in function ShmCtl we have introduced logic to do the following:
> 
> 1. Detach all PIDs from the passed Shared Memory Id.
> 2. Detach the PID of the process calling this function from 
>    all the shared memories present in the system.
> 3. Detach all dead PIDs from the passed Shared Memory Id, 
>     if they are left unattached before dying.
> 4. Detach all dead PIDs from all the Shared Memories persent in the system, 
>     if they  are left unattached before dying.
> 
> If we use Cygserver, can we achive these without making chages to cygserver code. 
> Can we know whether the above mentioned points are covered in Cygserver?

Cygserver keeps track of the connected processes and performs a clean-up
when the process terminates.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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