Sequencing of DetachCurrentThread in multithreaded C++ program
Hi,
in my C++ program, (MVC++ on XP, using Java 1.5.0_06) the JVM throws a great big hissy fit if threads do not attach and detach in a strict queue like order. For example, the program crashes at *** in the following sequence:
Thread 1: attach to JVM
Thread 2: attach to JVM
Thread 2: detach from JVM ***
If Thread 1 detaches from the JVM before Thread 2 detaches, then everything is fine. I found a similar issue, but no answers, in
http://forum.java.sun.com/thread.jspa?forumID=52&threadID=754378
Is this defined or well known behavior ?
Thanks for any info.

