diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2000-10-13 22:12:32 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2000-10-13 22:12:32 +0000 |
| commit | fbeb36e4bf72161883eda56a41578de1d8f2f885 (patch) | |
| tree | 06c51ea3d094e4b4c0492667aa46cf83d9e938c6 /lib/libpthread/thread/thr_gc.c | |
| parent | a95b77ec78e646b4b781d4b498bc3be7ddaee44c (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_gc.c')
| -rw-r--r-- | lib/libpthread/thread/thr_gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_gc.c b/lib/libpthread/thread/thr_gc.c index cd1f8383a33d..a81ea9161912 100644 --- a/lib/libpthread/thread/thr_gc.c +++ b/lib/libpthread/thread/thr_gc.c @@ -57,8 +57,8 @@ _thread_gc(pthread_addr_t arg) void *p_stack; /* Block all signals */ - sigfillset (&mask); - sigprocmask (SIG_BLOCK, &mask, NULL); + sigfillset(&mask); + pthread_sigmask(SIG_BLOCK, &mask, NULL); /* Mark this thread as a library thread (not a user thread). */ _thread_run->flags |= PTHREAD_FLAGS_PRIVATE; |
