--- ../fsel.c.orig 2018-10-14 08:16:18.624446614 +0200 +++ ./example/fsel.c 2018-10-14 08:16:32.676370584 +0200 @@ -271,7 +271,7 @@ ret = fuse_main(argc, argv, &fsel_oper, NULL); - pthread_cancel(producer); + pthread_kill(producer, 0); pthread_join(producer, NULL); return ret;