Re: [HACKERS] Advice needed concerning Win32 signals

2005-10-16 Thread Thomas Hallgren
[EMAIL PROTECTED] wrote: These "fake signals" are dispatched on the main thread. They are received by a worker thread, which will queue them up and set a flag, and the main thread then polls this queue and delivers the actual signal. OK. Now I understand. On Windows I don't need to do anything

Re: [HACKERS] Advice needed concerning Win32 signals

2005-10-16 Thread Thomas Hallgren
[EMAIL PROTECTED] wrote: Hi, I'm in the process of securing the PL/Java signal handling routines. Since a multi-threaded JVM is running and a signal can occur at any time in any thread, I need to trap some of them and make sure that they are executed in the main thread. Using Posix signals, t

Re: [HACKERS] Advice needed concerning Win32 signals

2005-10-16 Thread Magnus Hagander
> Hi, > I'm in the process of securing the PL/Java signal handling routines. > Since a multi-threaded JVM is running and a signal can occur > at any time in any thread, I need to trap some of them and > make sure that they are executed in the main thread. Using > Posix signals, this is easy. He