The second call to _thread_kern_sig_defer() in sem_post() should be a call

to _thread_kern_sig_undefer().
This commit is contained in:
jasone 2000-08-23 07:59:50 +00:00
parent 1724eb12de
commit bd08d0af8c
3 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ sem_post(sem_t *sem)
pthread_mutex_unlock(&(*sem)->lock);
_thread_kern_sig_defer();
_thread_kern_sig_undefer();
retval = 0;
RETURN:
return retval;

View File

@ -227,7 +227,7 @@ sem_post(sem_t *sem)
pthread_mutex_unlock(&(*sem)->lock);
_thread_kern_sig_defer();
_thread_kern_sig_undefer();
retval = 0;
RETURN:
return retval;

View File

@ -227,7 +227,7 @@ sem_post(sem_t *sem)
pthread_mutex_unlock(&(*sem)->lock);
_thread_kern_sig_defer();
_thread_kern_sig_undefer();
retval = 0;
RETURN:
return retval;