☰
WH
·
CSBank
首頁
題庫專區
模擬考專區
Pro 方案
聯絡我們
首頁
題庫
模擬考
Pro
聯絡
總覽
資料結構
388
演算法
212
作業系統
290
計算機組織與結構
266
離散數學
161
線性代數
182
作業系統
›
Ch6 行程同步(Process Synchronization)
第 10 題/共 32 題
◀
OS 10/32
錯題回報
00:00
10. Condition Variable、pthread_cond_wait、pthread_cond_signal
#OS-06-010
易
Condition Variable
pthread_cond_wait
pthread_cond_signal
📝
☆
Which statement(s) about condition variable are correct?
A
(a) A call to
pthread_cond_wait()
causes the calling thread to busy wait on a condition variable.
B
(b)
pthread_cond_wait()
includes a mutex lock as a parameter.
C
(c)
pthread_cond_signal()
function signals one thread that is waiting on the condition variable.
D
(d) The thread that calls
pthread_cond_signal()
aborts its execution right after the return of the call, after which CPU scheduler gives the execution right to the awakened thread.
📝 寫筆記
📄 交大112
重做
跳轉到第
題
← 上一題
下一題 →
答案/解析
▤
完整推導請見《WH 資工筆記 · 作業系統》Ch6 行程同步(Process Synchronization)
‹
本章題號 · 1–20 / 32
›
全部 32
易 23
中 9
難 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20