[ECOS] POSIX pause() never returns

Hans Rosenfeld rosenfeld@grumpf.hope-2000.org
Wed Jun 13 13:21:00 GMT 2007

On Wed, Jun 13, 2007 at 12:12:26AM +0200, Hans Rosenfeld wrote:
> What happens here is that cyg_deliver_signals() is called through
> posix_asr() -> cyg_posix_signal_asr() -> cyg_deliver_signals() while the
> thread is waiting in pause(). After this the thread continues in the
> while loop, calling cyg_deliver_signals() again. This call will return
> false since there are no more signals pending, and the thread waits
> again.

I just noticed that the same applies to sigsuspend(), but this seems to
have been this way all the time. Am I missing something here?

%SYSTEM-F-ANARCHISM, The operating system has been overthrown

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list