delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/15/18:00:47

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
Message-ID: <02e801c34b1c$7e556900$fd19fea9@caesar>
From: "Attila Szegedi" <szegedia AT freemail DOT hu>
To: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0307151750530 DOT 17842-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: #define _POSIX_REALTIME_SIGNALS causes parse error in sys/signal.h
Date: Wed, 16 Jul 2003 00:00:24 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
X-Authenticated-Sender: b3432d222fa812a3f8abd6e54a7ce91f

----- Original Message -----
From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
To: "Attila Szegedi" <szegedia AT freemail DOT hu>
Cc: <cygwin AT cygwin DOT com>
Sent: Tuesday, July 15, 2003 11:52 PM
Subject: Re: #define _POSIX_REALTIME_SIGNALS causes parse error in
sys/signal.h


>
> What about the declaration of "siginfo_t" ~100 lines earlier?

Yup, that's it - I started a separate thread to ask this one. It's there,
but guarded with
#if defined(__rtem__)
I just don't feel it's safe to define __rtem__ when attempting to compile
for Windows... You see, those headers are generic Cygnus headers, so they
contain code for Cygnus embedded targets as well. For some reason, siginfo_t
is compiled only when __rtem__ is defined...

Anyway, that piece of code (essentially a signal handler) isn't *that* much
critical - signals are used only to implement few auxiliary services - so
maybe I'll just end up omitting it altogether. I understand that UNIX
signals might not be properly emulated under Windows. pthread_yield would be
critical to have, though.

Attila.



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