diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-12 13:23:53 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-12 13:23:53 +0000 |
commit | 2482fdb1f0138cd273203d641e2107266fcf5db2 (patch) | |
tree | 9b58bfbfcba13d1df11a4c2c2975cdd6e97f1c90 /lib/fuse_mt.c | |
parent | 1274494c809faad28dfed77856f1850a9a9659da (diff) | |
download | libfuse-2482fdb1f0138cd273203d641e2107266fcf5db2.tar.gz |
fix
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; |