Stupid us....mutex_UNLOCK!!!!!!
This commit is contained in:
parent
42059bea9b
commit
c468ea0a62
@ -81,7 +81,7 @@ void stmod(str)
|
||||
} else {
|
||||
pthread_mutex_lock(&modemmx);
|
||||
write(modemfd, str, strlen(str) + 1);
|
||||
pthread_mutex_lock(&modemmx);
|
||||
pthread_mutex_unlock(&modemmx);
|
||||
}
|
||||
}
|
||||
void give_me_modem(str) /* warning: deprecated! */
|
||||
|
Loading…
Reference in New Issue
Block a user