| Author |
Interrupted questions! thx!
|
Javan Li
Ranch Hand
Joined: Jul 24, 2002
Posts: 84
|
|
|
what's diff between isInterrupted() & interrupted() ?
|
 |
Brendan Birt
Greenhorn
Joined: Nov 27, 2002
Posts: 2
|
|
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
Sheriff
Joined: Jan 30, 2000
Posts: 18670
|
|
That's one difference between them. The other difference is explained in the API. (Actually, they both are explained there. )
|
"I'm not back." - Bill Harding, Twister
|
 |
 |
|
|
subject: Interrupted questions! thx!
|
|
|