X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Eon-Dm: dm0219 X-Eon-Sig: AQMoEGNQfVFx8wDoxwIAAAAB,dedd0b12c801033164dd1d64cd6128bd From: bob To: cygwin AT cygwin DOT com Subject: re: signalfd support Date: Tue, 16 Oct 2012 08:22:07 -0400 Message-ID: <7503790.99DVW17TaN@bob-kubuntu> User-Agent: KMail/4.8.5 (Linux/3.2.0-31-generic; KDE/4.8.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-10-16_04:2012-10-16,2012-10-16,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-1210160089 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 ============ I'm on the list in digest mode, so I don't know how to thread this response properly. ============ Thanks to all who have taken time to respond so far. I am already using POSIX shared memory in the application I am trying to port to Cygwin. The fifos are simply used to synchronize access to the shared memory and to provide a convenient select()/poll()'able interface to multiplex things. The only thing presented to the fifo is an integer index value. The actual message data itself is in shared memory. In a previous posting a few weeks back I presented some test code which illustrated the performance deficit in the current Cygwin fifo implementation (2 orders of magnitude slower than Linux on same hardware). It was this performance issue that led me on a search for an alternative synchronization mechanism that still allowed for multiplexing via select()/poll(). As far as I can tell neither POSIX semaphores, POSIX message queues or sigwaitinfo() can meet this multiplex criteria. However, the combination of real time queueable signals and signalfd (or eventfd) could. As I understand things Cygwin supports real time signals, but doesn't yet support signalfd (or eventfd) functionality. 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