> Eric Blake wrote:
> > Although it gets prohibitively expensive in a multi-threaded process to
> > ensure proper locking between all threads that might want to use
> > posix_spawn
>
> Why locking? posix_spawn uses fork() - the vfork() optimization is not
> possible in the case when there are file
On 09/08/2018 02:24 AM, Bernhard Voelker wrote:
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