Commit 874577ad authored by Simon Morlat's avatar Simon Morlat

fix un locked access to a queue_t

parent 9557b33a
......@@ -350,7 +350,9 @@ static void * oss_thread(void *p){
}else{
did_read=TRUE;
rm->b_wptr+=err;
ms_mutex_lock(&d->mutex);
putq(&d->rq,rm);
ms_mutex_unlock(&d->mutex);
rm=NULL;
}
}else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment