This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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: POSIX pause() never returns


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


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