Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Threads
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
Threads and Synchronization
Interrupted questions! thx!
Javan Li
,
Ranch Hand
Dec 22, 2002 19:22:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
what's diff between isInterrupted() & interrupted() ?
Brendan Birt
,
Greenhorn
Dec 22, 2002 20:24:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
interrupted works only on the current
thread
(Thread.currentThread), but isInterrupted will work on any thread.
Other than that, they're identical.
[ December 22, 2002: Message edited by: Brendan Birt ]
Jim Yingst
,
Wanderer
staff
Dec 22, 2002 20:40:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
That's one difference between them. The other difference is explained in the
API
. (Actually, they both are explained there.
)
Post by:
autobot
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 936 times.
Similar Threads
Object
Threads
Sleep method cannot be interrupted? Is it true?
InterruptedException
sleep method
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:00:58
.