School Commit Init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
int n=0;
|
||||
pthread_mutex_t m;
|
||||
|
||||
void* f(void* p){
|
||||
phread_mutex_lock(&m);
|
||||
n++:
|
||||
pthread_mutex_unlock(&m);
|
||||
return NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user