A RUNNING thread transitions back to RUNNABLE when it is preempted by the scheduler (waiting for CPU).
Note 1: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
AlL.BDI`|w
Previous
Note did not exist
New Note
Front
Back
A RUNNING thread transitions back to RUNNABLE when it is preempted by the scheduler (waiting for CPU).

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A RUNNING thread transitions back to {{c1::RUNNABLE}} when {{c2::it is preempted by the scheduler (waiting for CPU)}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 2: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
B]4?I9[b)7
Previous
Note did not exist
New Note
Front
A WAITING thread transitions back to RUNNABLE when notify() or notifyAll() is called on the monitor object.
Back
A WAITING thread transitions back to RUNNABLE when notify() or notifyAll() is called on the monitor object.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A WAITING thread transitions back to {{c1::RUNNABLE}} when {{c2::notify() or notifyAll()}} is called on the monitor object. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 3: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
Ls<%=>Ev|a
Previous
Note did not exist
New Note
Front
A BLOCKED thread transitions back to RUNNABLE when the lock it was waiting for is released and acquired.
Back
A BLOCKED thread transitions back to RUNNABLE when the lock it was waiting for is released and acquired.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A BLOCKED thread transitions back to {{c1::RUNNABLE}} when {{c2::the lock it was waiting for is released and acquired}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 4: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
O<]Z]t3FcU
Previous
Note did not exist
New Note
Front
A RUNNABLE thread transitions to WAITING when it calls wait() (waiting for a notification).
Back
A RUNNABLE thread transitions to WAITING when it calls wait() (waiting for a notification).

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A RUNNABLE thread transitions to {{c1::WAITING}} when it calls {{c2::wait() (waiting for a notification)}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 5: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
QzJ[=!o}(2
Previous
Note did not exist
New Note
Front
A newly created Java thread starts in the NEW state and transitions to RUNNABLE when start() is called.
Back
A newly created Java thread starts in the NEW state and transitions to RUNNABLE when start() is called.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A newly created Java thread starts in the {{c1::NEW}} state and transitions to {{c1::RUNNABLE}} when {{c1::start()}} is called. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 6: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
b!n7U:~rTO
Previous
Note did not exist
New Note
Front
A RUNNABLE thread transitions to BLOCKED when it tries to acquire a lock held by another thread.
Back
A RUNNABLE thread transitions to BLOCKED when it tries to acquire a lock held by another thread.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A RUNNABLE thread transitions to {{c1::BLOCKED}} when {{c2::it tries to acquire a lock held by another thread}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 7: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
jqQhCOH2Yr
Previous
Note did not exist
New Note
Front
A RUNNING thread transitions to TERMINATED when its run() method returns or throws an uncaught exception.
Back
A RUNNING thread transitions to TERMINATED when its run() method returns or throws an uncaught exception.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A RUNNING thread transitions to {{c1::TERMINATED}} when {{c2::its run() method returns or throws an uncaught exception}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 8: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
vu~kn
Previous
Note did not exist
New Note
Front
A RUNNABLE thread transitions to RUNNING when the scheduler assigns it a CPU.
Back
A RUNNABLE thread transitions to RUNNING when the scheduler assigns it a CPU.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A RUNNABLE thread transitions to {{c1::RUNNING}} when {{c2::the scheduler assigns it a CPU}}. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |
Note 9: ETH::2. Semester::PProg
Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID:
added
Note Type: Horvath Cloze
GUID:
zgU.$2S/]|
Previous
Note did not exist
New Note
Front
BLOCKED, WAITING, and TIMED WAITING are all categorized as "not runnable" states, the thread cannot be scheduled for CPU execution while in any of them.
Back
BLOCKED, WAITING, and TIMED WAITING are all categorized as "not runnable" states, the thread cannot be scheduled for CPU execution while in any of them.

Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | BLOCKED, WAITING, and TIMED WAITING are all categorized as {{c1::"not runnable"}} states, the thread {{c2::cannot be scheduled for CPU execution}} while in any of them. | |
| Extra | <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg"> |