This is the mail archive of the cygwin@sourceware.cygnus.com 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]

RE: Cygwin32 Signals


Trevor Yann wrote:
> The current signal handling code processes signals in the user's thread.
> If signals were processed in a separate thread I don't think that
> Windows95 would have a problem:
>
> 1.	suspend user thread (don't care whether or not it is doing
> 	system stuff)
> 2.	invoke signal handling
> 3.	resume user thread
>
> Unfortunately there is software that assumes that signals are processed
> in the user's context - functions like longjmp will only work if signals
> are processed in the user's thread.

It's the cause of executing signal handler in main thread. Hopefully Chris 
Faylor solved most of Win95-specific problems. His patch is now in 
testing/fixing stage.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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