>>>>> Vasile GABURICI writes:

    Vasile> Dear Blackdown developers,

    Vasile> I know that your time is precious, so I have only two
    Vasile> questions regarding the interaction between a C
    Vasile> application using Linux kernel threads and your JDK
    Vasile> 1.2.2-RC4:

    Vasile> 1) What *exactly* is permitted and what is not with respect to
    Vasile>    threads and signal masks? If handler is installed for
    Vasile>    signal like SIGHUP in the main thread, why do threads
    Vasile>    that block this signal hang at random points inside the
    Vasile>    JVM?

We don't use SIGHUP.  Your problem is that you are blocking our
suspend signal.

    Vasile> 2) How does the -Xrs flag "reduce the use of OS signals"? Can you
    Vasile>    give me a list of signals that are used by your JVM
    Vasile>    with and without this flag?

The native threads implemenation uses SIGRTMIN + 3 and SIGRTMIN + 4
and SIGPIPE.  

The JVM also installs panic handlers for some signals and a SIGQUIT
handler.  If you specify '-Xrs', the JVM only installs panic handlers
for SIGFPE, SIGSEGV and SIGILL.

(The LinuxThreads library uses SIGRTMIN, SIGRTMIN + 1, and SIGRTMIN + 2.)

        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to