l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 15: Scratch: programming for children and other not-yet-programmers
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Apr 19 13:30

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
RE: [vox-tech] Java Threads: Abort not found...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



>
>   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
>

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!