0

I have some trouble understanding what the javadoc for this method means to say here:

A thread interruption ignored because a thread was not alive at the time of the interrupt will be reflected by this method returning false.

Uhwell, if it's not alive it does not even run, does it? Or it isn't even born in the first place...

So, what does the javadoc want to say here?

fge
  • 119,121
  • 33
  • 254
  • 329

1 Answers1

0

Uh, OK, as often, after asking a question, I think a little differently and I think what the javadoc meant to say here is actually this...

The problem, I believe, is that I'm stuck in the classical paradigm:

if (Thread.currentThread().isInterrupted())

But this is not the only way to have a reference to a Thread object. Duh.

fge
  • 119,121
  • 33
  • 254
  • 329