Skip to content
Snippets Groups Projects
Commit f034fbf2 authored by Kang Hyeonuk's avatar Kang Hyeonuk
Browse files

Update report14.md

parent 32e13b1b
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
### How to control static and global variable? ### How to control static and global variable?
* static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZERS; * static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZERS;
pthread_mutex_lock(&mutex); pthread_mutex_lock(&mutex); <br>
count++; count++; <br>
pthread_mutex_unlock(&mutex); pthread_mutex_unlock(&mutex); <br>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment