Java Linux Buffs:
I have a mutli-threaded application using pthreads, RedHat 6.1, gcc 2.91.66,
libc 2.1.2. This is a standard RedHat 6.1 install with no patches or upgrades.
I have searched through the www.blackdown.org faqs on using JNI and I did not
find anything helpfull for this problem.
I application spawns various threads to deal with client requests, like a web
server would spawn threads to deal with http requests. The main process
performs the JNI_CreateJavaVM() which succeeds.
When a thread is started it issues an AttachCurrentThread and then proceeds with
its work. I am finding that this method succeeds for 4 threads and then blocks
for other threads.
Its like AttachCurrentThread is hanging or blocked on mutex of some sort. The
same code works under Solaris and NT.
Is there a limit to the number of threads that can be attached to the VM?
BTW: I believe I have everything setup so that the vm properly uses
native_threads.
Any suggestions?
Thanks
Mark DeLaFranier.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]