One way to check this is this way:
final String xmsg = Exception.getMessage();
if( (xmsg != null) && xmsg.equals("Interrupted system call") )
{
// count the number of repeats of this and perhaps retry
}
-- -
|._.|_ Udo K. Schu
at is
required; what the interruption allows you to do is respond to the
interrupt if necessary.
Perhaps that helps?
-- -
|._.|_ Udo K. Schuermann"The future's not what it used to be."
|( )| ) [EMAIL PROTECTED] -- G'Kar, Babylon 5, "The Long Dark"
switch to jikes:
jikes -classpath /java/jdk/lib/classes.zip:/java/swing/swingall.jar:. *.java
-- -
|._.|_ Udo K. Schuermann"The future's not what it used to be."
|( )| ) [EMAIL PROTECTED] -- G'Kar, Babylon 5, "The Long Dark"
|_:_|/ Software Engineer, Blackboard Inc. I Am, Therefore I Think
lt-uuid.so
^^
Worked beautifully for me. And after struggling with this myself for
some hours and RTFM with great care, I made a mini-howto on this topic
that may be of interest to some:
http://ringlord.com/platform/java/jni-howto.html
-- -
|._.|_ Udo K.