[vox-tech] Java Threads: Abort not found...

Andy Campbell vox-tech@lists.lugod.org
Fri, 18 Apr 2003 15:56:52 -0700


>
>   I'm irritated about Java preventing one thread of forcefully stopping
> another thread... If you start a child thread that makes a blocking call
> into something, there doesn't appear to be a way for the parent thread
> to decide the child has taken too long and forcefully abort the child
> thread, or even get it to return from that blocked call.

This sounds like the fundamentals of RT-Linux, which has inherent thread
priority functionality built in, as well as thread periodicity.


>   In all Java code I've seen that handles this situation the parent
> just ignores the stuck child and continues along while the child is
> left in limbo land if it ever returns the result will be ignored...
> eventually the Java process exhausts resources on all the stuck
> children threads.
>
>   If anyone knows of a way for one Java thread to forcefully stop another
> from stopping, let me know...
>
>     TTFN,
>       Mike
>
> --
> GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
> Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE
>