X-Spam-Check-By: sourceware.org Date: Mon, 12 Mar 2007 13:40:09 +0100 From: Corinna Vinschen To: cygwin cygwin 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 References: <759081 DOT 64634 DOT qm AT web7610 DOT mail DOT in DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/