Skip to content

Commit ef0086d

Browse files
committed
ch8-4 condvar completed.
1 parent c89608c commit ef0086d

File tree

2 files changed

+179
-89
lines changed

2 files changed

+179
-89
lines changed

source/chapter8/3semaphore.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
/// 功能:为当前进程新增一个信号量。
172172
/// 参数:res_count 表示该信号量的初始资源可用数量,即 N ,为一个非负整数。
173173
/// 返回值:假定该操作必定成功,返回创建的信号量的 ID 。
174-
/// syscall ID 1020
174+
/// syscall ID : 1020
175175
pub fn sys_semaphore_create(res_count: usize) -> isize;
176176
/// 功能:对当前进程内的指定信号量进行 V 操作。
177177
/// 参数:sem_id 表示要进行 V 操作的信号量的 ID 。

0 commit comments

Comments
 (0)