Y
Yao Qi
The notify method will wake up one thread waiting to reacquire the
monitor for the object. How could I know which thread is waken up by
this notify method called by another thread?
I looked at java.lang.management.* and JVMTI, but I could not find a
feasible way to achieve this. I could not find answer from google
either.
Any comments on this are appreciated. Thanks.
--
Yao Qi <[email protected]> GNU/Linux Developer
http://duewayqi.googlepages.com/
Returning is the motion of the Tao.
Yielding is the way of the Tao.
The ten thousand things are born of being.
Being is born of not being.
monitor for the object. How could I know which thread is waken up by
this notify method called by another thread?
I looked at java.lang.management.* and JVMTI, but I could not find a
feasible way to achieve this. I could not find answer from google
either.
Any comments on this are appreciated. Thanks.
--
Yao Qi <[email protected]> GNU/Linux Developer
http://duewayqi.googlepages.com/
Returning is the motion of the Tao.
Yielding is the way of the Tao.
The ten thousand things are born of being.
Being is born of not being.