delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/16/05:07:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 16 Oct 2012 11:05:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: signalfd support
Message-ID: <20121016090556.GG25877@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2325766 DOT 6sS9bj5fZA AT bob-kubuntu> <DB21073AFB4FCB4BB229FDDD95544B291F7BFE24 AT dalmbx04 DOT ad DOT syniverse DOT com>
MIME-Version: 1.0
In-Reply-To: <DB21073AFB4FCB4BB229FDDD95544B291F7BFE24@dalmbx04.ad.syniverse.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Oct 15 20:57, Charles Stepp wrote:
> > Since the performance of Cygwin fifos is orders of magnitude poorer than the equivalent Linux implementation,  I've been trying to find an alternative to fifos in my Cygwin port.
> >
> > One possibility is to use a combination of real time signals (which queue) and
> > signalfd to provide a select()'able interface to those signals.   Early test
> > code on Linux shows promise.
> >
> > I did a quick check and it doesn't appear that Cygwin supports the signalfd
> > (or eventfd) interface.   Are there any plans to include this?    If not what
> > should I look at that Cygwin does support that could provide similar functionality?

Signal handler or sigwaitinfo come to mind.

> > Thanks in advance for all your answers.
> >
> > bob
> >
> > --
> > Problem reports:       http://cygwin.com/problems.html
> > FAQ:                   http://cygwin.com/faq/
> > Documentation:         http://cygwin.com/docs.html
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> I was thinking, "hmmm...shared memory...that's some fast stuff...", but
> 
> PC - ~ # ipcs -a
> Bad system call
> 
> Oh well...our wonderful godlings who create this cygwin stuff for us can only make so much silk purse out of this Windoze pig.

Apart from XSI IPC, which requires cygserver to run, there's also mmap
and the POSIX shared memory calls shm_open/shm_unlink, none of which
requires cygserver.

Cygwin also provides POSIX message queues, which is YA mechanism to
exchange messages between related processes.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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