about summary refs log tree commit diff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T14·08+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T14·13+0100
commit75ede65e3d2527cd9087c5a6970c4c5e6e26a0a8 (patch)
treeddd45eb92eb753e09f52b43be0cee74702041b73 /src/nix-store/nix-store.cc
parentc2699be93b2bc7e5d9b9f7e1a671006cbd05cb0b (diff)
Don't use vfork() before clone()
I'm seeing hangs in Glibc's setxid_mark_thread() again. This is
probably because the use of an intermediate process to make clone()
safe from a multi-threaded program (see
524f89f1399724e596f61faba2c6861b1bb7b9c5) is defeated by the use of
vfork(), since the intermediate process will have a copy of Glibc's
threading data structures due to the vfork(). So use a regular fork()
again.
Diffstat (limited to 'src/nix-store/nix-store.cc')
0 files changed, 0 insertions, 0 deletions