I had quite a few problems using native threads with JDK 1.1.7v3. 
These were never resolved but the Blackdown folks said that the
forthcoming 1.1.8 release might fix some of the problems.

You should be able to use gdb to find out what's going on; you can tell 
gdb to report the various signals that each thread is receiving. For this 
you need a VERY RECENT version of gdb which includes Linux Threads support. 
I use gdb-4.18 which I obtained from the Red Hat "rawhide" archive. Note
that this is not a standard gdb 4.18; it includes Linux Threads patches.
Since it took me a while to find this I'll put it on my web site here:
        http://www.cs.berkeley.edu/~mdw/gdb-4.18-4.i386.rpm

Using the "handle" command in gdb you should be able to specify whether
each signal is reported, blocked, etc. Note that in order to see the signals
being delivered to the GC thread, say, you need to be tracing that particular
thread; the "info threads" and "thread" command give you a list of threads
and allow you to attach to a particular one, respectively.

Hopefully this will help you to discover what's going on inside the black
box.

Good luck!

Matt Welsh


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

Reply via email to