[Top][All Lists]

[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: Sat, 8 Sep 2018 09:24:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 09/08/18 00:15, Eric Blake wrote:
> Adding posix_spawn_file_actions_addchdir() is what avoids the need to 
> lock in the parent, because now you do:

A thought WRT the naming: while ..._addopen() can be called for more file
descriptors, there's only one working directory for the spawned process.
Therefore I suggest to simply call it posix_spawn_file_actions_chdir(),
i.e., without the "add" in its name.
To "remove" this from the posix_spawn_file_actions again (before calling
posix_spawn, of course), one could also simply use


Have a nice day,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]