delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/15/16:46:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Eon-Dm: dm0214
X-Eon-Sig: AQMoEGNQfHYeR8Z1PAIAAAAB,3f78eb0d37234cb115dee2faa5f66713
From: bob <bob AT icanprogram DOT com>
To: cygwin AT cygwin DOT com
Subject: signalfd support
Date: Mon, 15 Oct 2012 16:46:21 -0400
Message-ID: <2325766.6sS9bj5fZA@bob-kubuntu>
User-Agent: KMail/4.8.5 (Linux/3.2.0-31-generic; KDE/4.8.5; x86_64; ; )
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-10-15_04:2012-10-15,2012-10-15,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1210150250
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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?

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

- Raw text -


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