This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: printStackTrace() hangs in read()


Jost Boekemeier writes:
 > > -lpthread  
 > 
 > Thanks, that was helpful!  If I link with the pthread library, then the jni
 > example also works.  
 > 
 > 
 > > It's a bug in Red Hat 8.0's Java installation.
 > 
 > Then I am not the only one who made this mistake.  -- It doesn't seem a good
 > idea to load pthreads dynamically. :)

There's a fix in the works, which means that in future pthreads will
no longer fail to work because of incorrect shared library ordering.
I don't know if it's in the current release of glibc.

Andrew.


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