Tomcat won't do anything to manage this. I think this is more a generic
JNI question.
Multiple threads can access your native library concurrently. What it's
going to boil down to is whether or not you native library is
thread-safe, and whether you want to impose some degree of
single-threadednes
Hi,
No.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Dan Barron [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 19, 2004 11:59 AM
>To: [EMAIL PROTECTED]
>Subject: JNI, tomcat & thread safety
>
>Hello,
>
>I'm loading a native
Hello,
I'm loading a native library within tomcat - the library is loaded with the
System.loadLibrary() via a static object so that it is only loaded once -
will tomcat manage any threading issues for calls to the library from the
JNI wrapper class?
Thanks,
Dan
-