Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Developers identify tasks and the library maps them to kernel threads
Anonymous Quiz
93%
T
7%
F
When a thread makes a blocking system call, another thread can run
Anonymous Quiz
15%
Many-to-One Model
85%
Many-to-Many Model
OS creates a set of kernel threads (less than or equal to user threads)
Anonymous Quiz
6%
Many-to-One Model
9%
One-to-One Model
85%
Many-to-Many Model
When a thread makes a blocking system call, another thread can run
Anonymous Quiz
26%
Many-to-One Model
74%
one-to-one Model
OS creates a kernel thread per user thread (can burden performance)
Anonymous Quiz
11%
Many-to-One Model
79%
One-to-One Model
10%
Many-to-Many Model
The entire process will block if a thread makes a blocking system call
Anonymous Quiz
83%
Many-to-One Model
12%
One-to-One Model
5%
Many-to-Many Model
Thread management is done in user space by a thread library not OS
Anonymous Quiz
55%
Many-to-One Model
12%
One-to-One Model
33%
Many-to-Many Model
Only one user thread can access the kernel at a time
Anonymous Quiz
79%
Many-to-One Model
17%
One-to-One Model
4%
Many-to-Many Model
The server creates a thread for each request
Anonymous Quiz
29%
Implicit Threading
71%
Explicit Threading
The thread is discarded once it has completed its work
Anonymous Quiz
23%
Implicit Threading
77%
Explicit Threading
Helps developing modern applications with hundreds of threads
Anonymous Quiz
76%
Implicit Threading
24%
Explicit Threading
Programmers identify tasks that can run in parallel
Anonymous Quiz
91%
Implicit Threading
9%
Explicit Threading
The programmer writes a task as a function
Anonymous Quiz
91%
Implicit Threading
9%
Explicit Threading
Too many threads that work concurrently can exhaust system resources
Anonymous Quiz
27%
Implicit Threading
73%
Explicit Threading
In explicit threading The number of threads that can be created has no upper bound.
Anonymous Quiz
88%
T
12%
F
in implicit threading Programmers identify threads
Anonymous Quiz
39%
T
61%
F
Run-time libraries (not programmers) create and manage threads
Anonymous Quiz
85%
Implicit Threading
15%
Explicit Threading
works well for tasks that are synchronous (cooperating).
Anonymous Quiz
20%
Thread pool
80%
Fork-join
works well for asynchronous (independent) tasks
Anonymous Quiz
91%
Thread pool
9%
Fork-join
in implicit threading Each task is mapped to a separate thread using the many-to-many model
Anonymous Quiz
90%
T
10%
F
At startup, the server creates a set of threads in a pool
Anonymous Quiz
94%
Thread pool
6%
Fork-Join