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

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Threads can run in parallel on a multiprocessor machine.
Anonymous Quiz
21%
Responsiveness
17%
Resource sharing
52%
Scalability
10%
Economy
traditional process has a multiple thread of control.
Anonymous Quiz
25%
T
75%
F
Identifying tasks is divide program into tasks that can run in series
Anonymous Quiz
31%
T
69%
F
a ....... system has well defined, fixed time constraints
Anonymous Quiz
10%
distributed
10%
single-processor
7%
multiprocessor
73%
real-time
Task Parallelism refers to the distribution of data across multiple cores
Anonymous Quiz
41%
T
59%
F
User threads are managed with OS support
Anonymous Quiz
30%
T
70%
F
Kernel threads are supported and managed directly by the OS.
Anonymous Quiz
94%
T
6%
F
in One-to-One Model Only one user thread can access the kernel at a time.
Anonymous Quiz
40%
T
60%
F
in Many-to-One Model Threads can run in parallel on multi-core systems.
Anonymous Quiz
26%
T
74%
F
in One-to-One Model Multiple threads can access the kernel at a given time
Anonymous Quiz
83%
T
17%
F
OS creates a kernel thread per user thread (can burden performance)
Anonymous Quiz
81%
One-to-One Model
19%
Many-to-Many Mode
OS creates a set of kernel threads (less than or equal to user threads)
Anonymous Quiz
10%
One-to-One Mode
90%
Many-to-Many Model
When a thread makes a blocking system call, another thread can run.
Anonymous Quiz
11%
Many-to-Many Model
11%
One-to-One Model
8%
Many-to-One Model
71%
A&B
Forwarded from Step by Step (C) (Abdelrahman Zaki)
Text / Data section
مساحتهم ثابتة
Forwarded from Step by Step (C) (Abdelrahman Zaki)
Heap/stack section -> مساحتهم متغيرة
Fork-join. works well for tasks that are asynchronous (cooperating)
Anonymous Quiz
46%
T
54%
F
The server creates a thread for each request
Anonymous Quiz
76%
Explicit Threading
24%
Implicit Threading
in Implicit Threading Programmers identify threads that can run in parallel.
Anonymous Quiz
45%
F
55%
T
can adjust the number of threads in the pool.
Anonymous Quiz
16%
sequential thread pool
84%
dynamic thread pool
Cancellation of a target thread can be asynchronous or Synchronous.
Anonymous Quiz
42%
T
58%
F