[4856] in java-interest
Handling of Interrupts by Threads
daemon@ATHENA.MIT.EDU (Andruid Kerne)
Tue Jan 16 22:48:08 1996
Date: Tue, 16 Jan 96 21:15:27 EST
From: andruid@SLINKY.CS.NYU.EDU (Andruid Kerne)
To: java-interest@java.sun.com
can a thread handle an interrupt for real?
it doesnt look like it in the api.
there could be a method called interruptHandler that would be called
when another thread said interrupt(Thread). you could even have
interrupt(Thread, Object) and interruptHandler(Object). This would
allow true, dynamic, asynchronous, interrupt-driven message passing.
it looks like daemon Thread's
must poll to see if an another thread wishes a service.
or did i miss something?
--
Regards,
Andruid Kerne
NYU Media Research Laboratory
--and also--
Creative Media Cauldron
http://c4dm.nyu.edu/andruid/
The distinctions between artists and engineers -- between content
developers and programmers -- are entirely artificial.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com