guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nix-dev] Avoiding threads in the daemon


From: Eelco Dolstra
Subject: Re: [Nix-dev] Avoiding threads in the daemon
Date: Fri, 19 Dec 2014 19:46:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Hi,

On 19/12/14 19:41, Shea Levy wrote:

> Can't you unshare in the parent then setns back after fork?

In a multi-threaded program, that sounds incredibly racy :-)

(Though it's not clear to me whether unshare() works on the current process or
the current thread. Manpage says process...)

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/



reply via email to

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