Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread Josh Triplett
On Sun, Mar 15, 2015 at 10:18:05AM +, David Drysdale wrote: > On Sat, Mar 14, 2015 at 7:29 PM, Josh Triplett wrote: > > On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: > >> On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: > >> > On Friday 13 March 2015 14:51:47 Andy

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread David Drysdale
On Sat, Mar 14, 2015 at 7:29 PM, Josh Triplett wrote: > On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: >> On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: >> > On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: >> > > In any event, we should find out what FreeBSD

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread David Drysdale
On Fri, Mar 13, 2015 at 7:42 PM, Josh Triplett wrote: > On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: >> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett wrote: >> > This patch series introduces a new clone flag, CLONE_FD, which lets the >> > caller >> > handle child process

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread David Drysdale
On Sat, Mar 14, 2015 at 7:29 PM, Josh Triplett j...@joshtriplett.org wrote: On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: In any event, we should find out what

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread David Drysdale
On Fri, Mar 13, 2015 at 7:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-15 Thread Josh Triplett
On Sun, Mar 15, 2015 at 10:18:05AM +, David Drysdale wrote: On Sat, Mar 14, 2015 at 7:29 PM, Josh Triplett j...@joshtriplett.org wrote: On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: On Friday 13 March 2015

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-14 Thread Josh Triplett
On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: > On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: > > On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: > > > In any event, we should find out what FreeBSD does in response to > > > read(2) on the fd. > > > > I've just

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-14 Thread Thiago Macieira
On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: > On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: > > In any event, we should find out what FreeBSD does in response to > > read(2) on the fd. > > I've just successfully installed FreeBSD and compiled qtbase (main package > of Qt 5)

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-14 Thread Josh Triplett
On Sat, Mar 14, 2015 at 12:03:12PM -0700, Thiago Macieira wrote: On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: In any event, we should find out what FreeBSD does in response to read(2) on the fd. I've just successfully

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-14 Thread Thiago Macieira
On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: In any event, we should find out what FreeBSD does in response to read(2) on the fd. I've just successfully installed FreeBSD and compiled qtbase (main package of Qt 5) on it.

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: > In any event, we should find out what FreeBSD does in response to > read(2) on the fd. I've just successfully installed FreeBSD and compiled qtbase (main package of Qt 5) on it. I'll test pdfork during the weekend and report its

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 2:45 PM, wrote: > On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: >> On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett >> wrote: >> > On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: >> >> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett >>

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett wrote: > > On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: > >> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett > >> wrote: > >> > This patch series introduces a new

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:16:07PM -0700, Thiago Macieira wrote: > On Friday 13 March 2015 12:42:52 Josh Triplett wrote: > > > Hi Josh, > > > > > > From the overall description (i.e. I haven't looked at the code yet) > > > this looks very interesting. However, it seems to cover a lot of the > >

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett wrote: > On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: >> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett wrote: >> > This patch series introduces a new clone flag, CLONE_FD, which lets the >> > caller >> > handle child process

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
On Friday 13 March 2015 12:42:52 Josh Triplett wrote: > > Hi Josh, > > > > From the overall description (i.e. I haven't looked at the code yet) > > this looks very interesting. However, it seems to cover a lot of the > > same ground as the process descriptor feature that was added to FreeBSD > >

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Josh Triplett
On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: > On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett wrote: > > This patch series introduces a new clone flag, CLONE_FD, which lets the > > caller > > handle child process exit notification via a file descriptor rather than > > SIGCHLD.

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread David Drysdale
On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett wrote: > This patch series introduces a new clone flag, CLONE_FD, which lets the caller > handle child process exit notification via a file descriptor rather than > SIGCHLD. CLONE_FD makes it possible for libraries to safely launch and manage >

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Josh Triplett
On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 2:45 PM, j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:16:07PM -0700, Thiago Macieira wrote: On Friday 13 March 2015 12:42:52 Josh Triplett wrote: Hi Josh, From the overall description (i.e. I haven't looked at the code yet) this looks very interesting. However, it seems to cover a lot of the same ground as

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
On Friday 13 March 2015 12:42:52 Josh Triplett wrote: Hi Josh, From the overall description (i.e. I haven't looked at the code yet) this looks very interesting. However, it seems to cover a lot of the same ground as the process descriptor feature that was added to FreeBSD in

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: In any event, we should find out what FreeBSD does in response to read(2) on the fd. I've just successfully installed FreeBSD and compiled qtbase (main package of Qt 5) on it. I'll test pdfork during the weekend and report its behaviour.

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread David Drysdale
On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett j...@joshtriplett.org wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather than SIGCHLD. CLONE_FD makes it possible for libraries to safely launch

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-12 Thread Thiago Macieira
On Thursday 12 March 2015 18:40:03 Josh Triplett wrote: > This patch series introduces a new clone flag, CLONE_FD, which lets the > caller handle child process exit notification via a file descriptor rather > than SIGCHLD. CLONE_FD makes it possible for libraries to safely launch > and manage

[PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-12 Thread Josh Triplett
This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather than SIGCHLD. CLONE_FD makes it possible for libraries to safely launch and manage child processes on behalf of their caller, *without* taking over

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-12 Thread Thiago Macieira
On Thursday 12 March 2015 18:40:03 Josh Triplett wrote: This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather than SIGCHLD. CLONE_FD makes it possible for libraries to safely launch and manage child

[PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-12 Thread Josh Triplett
This patch series introduces a new clone flag, CLONE_FD, which lets the caller handle child process exit notification via a file descriptor rather than SIGCHLD. CLONE_FD makes it possible for libraries to safely launch and manage child processes on behalf of their caller, *without* taking over