From f034fbf2fd5bfc0e640afb45bd0be59ab0f97e1c Mon Sep 17 00:00:00 2001 From: Kang Hyeonuk <hugang1208@ajou.ac.kr> Date: Sat, 29 Jan 2022 14:26:59 +0000 Subject: [PATCH] Update report14.md --- lec14/report14.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lec14/report14.md b/lec14/report14.md index cc6b80a..d172004 100644 --- a/lec14/report14.md +++ b/lec14/report14.md @@ -30,7 +30,7 @@ ### How to control static and global variable? * static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZERS; - pthread_mutex_lock(&mutex); - count++; - pthread_mutex_unlock(&mutex); + pthread_mutex_lock(&mutex); <br> + count++; <br> + pthread_mutex_unlock(&mutex); <br> -- GitLab