Anki Deck Changes

Commit: d12a30e6 - thread model

Author: obrhubr <obrhubr+noreply@noreply.com>

Date: 2026-03-31T07:44:45+02:00

Changes: 9 note(s) changed (9 added, 0 modified, 0 deleted)

Note 1: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: AlL.BDI`|w
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A RUNNING thread transitions back to RUNNABLE when it is preempted by the scheduler (waiting for CPU).

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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&nbsp;(waiting for CPU)}}.
Extra <img src="paste-09c96ca27cfa89a7ac343cd788a35f3e569c8478.jpg">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 2: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: B]4?I9[b)7
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A WAITING thread transitions back to RUNNABLE when notify() or notifyAll() is called on the monitor object.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 3: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: Ls<%=>Ev|a
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A BLOCKED thread transitions back to RUNNABLE when the lock it was waiting for is released and acquired.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 4: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: O<]Z]t3FcU
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A RUNNABLE thread transitions to WAITING when it calls wait() (waiting for a notification).

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 5: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: QzJ[=!o}(2
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A newly created Java thread starts in the NEW state and transitions to RUNNABLE when start() is called.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 6: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: b!n7U:~rTO
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A RUNNABLE thread transitions to BLOCKED when it tries to acquire a lock held by another thread.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 7: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: jqQhCOH2Yr
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A RUNNING thread transitions to TERMINATED when its run() method returns or throws an uncaught exception.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 8: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: vu~kn
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
A RUNNABLE thread transitions to RUNNING when the scheduler assigns it a CPU.

Back

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads

Note 9: ETH::2. Semester::PProg

Deck: ETH::2. Semester::PProg
Note Type: Horvath Cloze
GUID: zgU.$2S/]|
added

Previous

Note did not exist

New Note

Front

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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

ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
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">
Tags: ETH::2._Semester::PProg::03._Java_Threads::3._Java_Threads
↑ Top