When calling wait() in a thread, it's state becomes NOT RUNNABLE until it's woken up again.
Note 1: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
gn9A&eev:$
Previous
Note did not exist
New Note
Front
Back
When calling wait() in a thread, it's state becomes NOT RUNNABLE until it's woken up again.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | When calling wait() in a thread, it's state becomes {{c1:: <b>NOT RUNNABLE</b>}} until it's woken up again. | |
| Extra | <img src="paste-f49c308f0b8c6632ec983c9e12deb307a20ec04f.jpg"> |
Note 2: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
n$T_TxX6W`
Previous
Note did not exist
New Note
Front
After a thread is woken up by notify, it's state becomes RUNNABLE
Back
After a thread is woken up by notify, it's state becomes RUNNABLE
This doesn't mean however it's actually running, it just means it's eligible to be ran by the Scheduler.
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | After a thread is woken up by <b>notify</b>, it's state becomes {{c1::<b>RUNNABLE</b>}} | |
| Extra | This doesn't mean however it's actually running, it just means it's eligible to be ran by the Scheduler. |