Re: lib/libfuse: Handle signals that get sent to any thread

2018-11-15 Thread Rian Hunter
On 2018-10-29 23:27, Ted Unangst wrote: Rian Hunter wrote: Another gentle bump on this patch: this looks about right. Another gentle bump on this patch: Index: lib/libfuse/fuse.c === RCS file: /cvs/src/lib/libfuse/fuse.c,v retr

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-29 Thread Ted Unangst
Rian Hunter wrote: > Another gentle bump on this patch: this looks about right.

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-29 Thread Rian Hunter
Another gentle bump on this patch: Index: lib/libfuse/fuse.c === RCS file: /cvs/src/lib/libfuse/fuse.c,v retrieving revision 1.49 diff -u -r1.49 fuse.c --- lib/libfuse/fuse.c 5 Jul 2018 10:57:31 - 1.49 +++ lib/libfuse/fuse

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Rian Hunter
On Fri, Oct 19 2018, at 4:02 PM, Klemens Nanni wrote: > On Fri, Oct 19, 2018 at 02:03:59PM -0700, Rian Hunter wrote: >> Gentle bump on this. Would be nice if this were fixed for the next release. >> >> On 2018-10-07 10:55, Rian Hunter wrote: >> > (re-posting because I realized the last patch didn

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Klemens Nanni
On Fri, Oct 19, 2018 at 02:03:59PM -0700, Rian Hunter wrote: > Gentle bump on this. Would be nice if this were fixed for the next release. > > On 2018-10-07 10:55, Rian Hunter wrote: > > (re-posting because I realized the last patch didn't apply cleanly) Your patch does not apply due to whitespace

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Rian Hunter
Gentle bump on this. Would be nice if this were fixed for the next release. On 2018-10-07 10:55, Rian Hunter wrote: (re-posting because I realized the last patch didn't apply cleanly) lib/libfuse/fuse.c was using a EINTR return from kevent() to detect when a signal had occurred, but in a multi

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-07 Thread Rian Hunter
(re-posting because I realized the last patch didn't apply cleanly) lib/libfuse/fuse.c was using a EINTR return from kevent() to detect when a signal had occurred, but in a multi-threaded process the signal may not have been delivered to the thread blocking on kevent(). This changes makes it so t

lib/libfuse: Handle signals that get sent to any thread

2018-10-05 Thread Rian Hunter
lib/libfuse/fuse.c was using a EINTR return from kevent() to detect when a signal had occurred, but in a multi-threaded process the signal may not have been delivered to the thread blocking on kevent(). This changes makes it so the signals are caught using EVFILT_SIGNAL filters so they can be d