diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-17 00:57:54 +0000 | 
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-17 00:57:54 +0000 | 
| commit | fc8f3f5bfe691a89cc23a521c08e0128fbf8c2ae (patch) | |
| tree | be12fd0c2d0356386c97f73c045f078ca33fdef7 /lib/libc_r/uthread/uthread_mutex.c | |
| parent | 3dc268f4e7934a791049d0a2467e3d6d3ed190cd (diff) | |
Notes
Diffstat (limited to 'lib/libc_r/uthread/uthread_mutex.c')
| -rw-r--r-- | lib/libc_r/uthread/uthread_mutex.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c index b2a06f2fc2e5..c625ef26e900 100644 --- a/lib/libc_r/uthread/uthread_mutex.c +++ b/lib/libc_r/uthread/uthread_mutex.c @@ -623,6 +623,7 @@ pthread_mutex_lock(pthread_mutex_t * mutex)  		_thread_kern_sig_undefer();  		if ((_thread_run->cancelflags & PTHREAD_CANCEL_NEEDED) != 0) { +			_thread_run->cancelflags &= ~PTHREAD_CANCEL_NEEDED;  			_thread_exit_cleanup();  			pthread_exit(PTHREAD_CANCELED);  		}  | 
