diff options
Diffstat (limited to 'lib/fuse_mt.c')
-rw-r--r-- | lib/fuse_mt.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c index 819a2b9..4864684 100644 --- a/lib/fuse_mt.c +++ b/lib/fuse_mt.c @@ -94,15 +94,7 @@ static void *do_work(void *data) static int start_thread(struct fuse_worker *w, pthread_t *thread_id) { - sigset_t oldset; - sigset_t newset; - int res; - - /* Disallow signal reception in worker threads */ - sigfillset(&newset); - pthread_sigmask(SIG_SETMASK, &newset, &oldset); - res = pthread_create(thread_id, NULL, do_work, w); - pthread_sigmask(SIG_SETMASK, &oldset, NULL); + int res = pthread_create(thread_id, NULL, do_work, w); if (res != 0) { fprintf(stderr, "fuse: error creating thread: %s\n", strerror(res)); return -1; |