R
Razvan
Hi !
I have a question about the behavior of wait. Let's suppose that
thread "A" is in a waiting state with timeout. After the timeout
period, the thread is awaken but the object on which is synchronized
is STILL locked by another thread. What now ? What will be the state
of this thread ? Will it go back to waiting state ? If so, will the
waiting state still have a timeout ? If not, in which state will it go
?
Regards,
Razvan
I have a question about the behavior of wait. Let's suppose that
thread "A" is in a waiting state with timeout. After the timeout
period, the thread is awaken but the object on which is synchronized
is STILL locked by another thread. What now ? What will be the state
of this thread ? Will it go back to waiting state ? If so, will the
waiting state still have a timeout ? If not, in which state will it go
?
Regards,
Razvan