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

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, 15 Jul 2003 23:44:30 +0100
From: Elfyn McBratney <elfyn AT emcb DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: Attila Szegedi <szegedia AT freemail DOT hu>
cc: cygwin AT cygwin DOT com
Subject: Re: How to get sigwait()?
In-Reply-To: <02ce01c34b19$ce391960$fd19fea9@caesar>
Message-ID: <Pine.CYG.4.55.0307152342280.2596@ellixia>
References: <02ce01c34b19$ce391960$fd19fea9 AT caesar>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0

On Tue, 15 Jul 2003, Attila Szegedi wrote:

> This is kind of follow-up to my question about _POSIX_REALTIME_SIGNALS:
>
> what is (is there?) the proper way to get compiled some code under Cygwin
> (originally written for Linux) that uses the sigwait() function? I first
> naively thought that defining _POSIX_REALTIME_SIGNALS is enough to
> conditionally compile relevant parts in /usr/include/sys/signal/h. Then it
> turned out that if I define _POSIX_REALTIME_SIGNALS, I must also define
> __rtems__ to trigger conditional compilation of the siginfo_t struct.

Well, that's obviusly not the answer. If there's a function missing it means one
hasn't been written and contributed to the project. As always, with Open Source
projects, you have the power to implement this or any other missing function.

Sorry I can't be more helpful than that.

> Now, this rings the alarm bells in my head. Am I really supposed to define a
> symbol indicating that the compilation target is an embedded RTOS when I
> want to have the code compiled for Windows? If not, what is the solution? Is
> there any?
>
> Thanks in advance for any responses
> Cheers,
>   Attila.

Elfyn

-- 
Elfyn McBratney, EMCB  |  http://www.nongnu.org/wwwauth/
http://www.emcb.co.uk  |  http://www.emcb.co.uk/webauth/
elfyn AT emcb DOT co DOT uk       |  wwwauth-users AT nongnu DOT org


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