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