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

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
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
Implicit fork-join is an asynchronous version of the thread pool
Anonymous Quiz
37%
T
63%
F
Create one or more child threads. then Wait for the created threads (children) to terminate. finally Join the threads, at which point it can retrieve and combine their results
Anonymous Quiz
16%
Thread pool
84%
Fork-Join
When the server receives a request, it submits it to the pool
Anonymous Quiz
91%
Thread pool
9%
Fork-Join
If the pool has a thread, the …. is served immediately
Anonymous Quiz
88%
request
13%
response
in Thread pool If the pool is empty, the task is queued until a thread becomes free
Anonymous Quiz
86%
T
14%
F
in Thread pool Once a thread completes serving the request, it returns to the pool.
Anonymous Quiz
92%
T
8%
F
…. can adjust the number of threads in the pool.
Anonymous Quiz
15%
sequential thread pool
85%
dynamic thread pool