From da302df443b247c6a049a6bf31676143636e0507 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Sat, 3 Mar 2018 15:52:03 +0800 Subject: [PATCH] auto commit --- notes/计算机操作系统.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/计算机操作系统.md b/notes/计算机操作系统.md index 0924ede9..a1189d84 100644 --- a/notes/计算机操作系统.md +++ b/notes/计算机操作系统.md @@ -270,7 +270,7 @@ down 和 up 操作需要被设计成原语,不可分割,通常的做法是 ```c typedef int semaphore ; -samaphore mutex = 1; +semaphore mutex = 1; void P1() { down(mutex); // 临界区