]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Daemonize fuse thread in libvirt_lxc
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Mar 2013 18:49:45 +0000 (18:49 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 13 Mar 2013 15:54:06 +0000 (15:54 +0000)
commite31f32c6a3e028af3b3db2fcbb755a908b4a4b43
tree412cb8f959476764f4e4576cc22bb63df1243177
parent83d7e4e4607a96b6959a6b0afd44a10a783fd928
Daemonize fuse thread in libvirt_lxc

In some startup failure modes, the fuse thread may get itself
wedged. This will cause the entire libvirt_lxc process to
hang trying to the join the thread. There is no compelling
reason to wait for the thread to exit if the whole process
is exiting, so just daemonize the fuse thread instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_fuse.c