This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get sigwait()?

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 McBratney, EMCB  |  |       |  wwwauth-users AT nongnu DOT org

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]