delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/16/04:33:02

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: Tue, 16 Mar 2004 10:13:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ipcs shows no output
Message-ID: <20040316091330.GO25204@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <40567035 DOT 20401 AT dhl DOT com>
Mime-Version: 1.0
In-Reply-To: <40567035.20401@dhl.com>
User-Agent: Mutt/1.4.2i

On Mar 16 11:10, Hemant Borole wrote:
> Hi,
> I have installed latest release of Cygwin on my Windows XP machine.
> I wrote a program to create a semaphore. When I run it on Unix and do 
> ipcs I can see this entry in the ipcs
> The same program I port to cygwin, and I see 0 ipc's
> 
> I have my ipc-daemon2 and cygserver both running, besides 
> CYGWIN="server=1" is set

Urgh.  You *either* use ipc-daemon2 *or* cygserver, not both.  ipcs from
the cygwin base package only shows IPC elements maintained by cygserver. 
Therefore it's very likely you linked your application against the cygipc
library.  Either you should use ipcs from the cygipc package, or you
rebuild your application and only link against cygwin (which is done
automatically anyway).  In the latter case you'll use cygserver and
the ipcs from the cygwin base package will show you your semaphore.

For reference, you should get rid of cygipc since it's going away at
one point, as soon as all Cygwin packages relying on it have been
rebuild to work with cygserver (postgresql, xemacs and a lot of XFree
packages).  So, probably in a year or so.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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