diff --git a/lec14/report14.md b/lec14/report14.md index cc6b80a13e85b5e13c47a9cd64d38a0e01902aef..d172004eb15dde2cab739279fd9bb282a92b21dd 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>