[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introduce posix_spawn
From: |
Bernhard Voelker |
Subject: |
Re: Introduce posix_spawn |
Date: |
Fri, 14 Sep 2018 08:15:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 9/7/18 7:24 AM, Barath Aron wrote:
> Any thoughts on posix_spawn()?
It seems to be possible now with the ...addfchdir() function for find/exec.c.
In xargs, the error detection is a bit more detailed, so this might become a
bit more complicated.
In general, I think the code will have to be doubled, i.e., it seems we'll
have to maintain both the fork+execv and the posix_spawn way in code.
It should be configurable which of them has to be activated; however,
for GNU/Linux, I'd stick to the well-working fork+exec per default.
Anyway, I think this should go into a release following the imminent 4.6.1.
Finally, if you contribute some code, then we need to roll the ball for
the copyright assignment to the FSF.
Have a nice day,
Berny
- Introduce posix_spawn, Barath Aron, 2018/09/03
- RE: Introduce posix_spawn, Tavian Barnes, 2018/09/06
- Re: Introduce posix_spawn, Eric Blake, 2018/09/07
- Re: Introduce posix_spawn, Eric Blake, 2018/09/07
- Re: Introduce posix_spawn, Barath Aron, 2018/09/07
- Re: Introduce posix_spawn, Eric Blake, 2018/09/07
- Re: Introduce posix_spawn, Bruno Haible, 2018/09/07
- Re: Introduce posix_spawn, Eric Blake, 2018/09/07
- Re: Introduce posix_spawn, Bernhard Voelker, 2018/09/08
- Re: Introduce posix_spawn, Eric Blake, 2018/09/10
- Re: posix_spawn_file_actions_addchdir, Bruno Haible, 2018/09/07
- Re: posix_spawn_file_actions_addchdir, Eric Blake, 2018/09/07