mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
Implement library for lockfiles and use it in cfg code.
This is useful because the upcoming configuration database also needs a lockfile implementation. Also adds tests.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <unistd.h>
|
||||
#include "fatal-signal.h"
|
||||
#include "dirs.h"
|
||||
#include "lockfile.h"
|
||||
#include "timeval.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -224,6 +225,7 @@ daemonize(void)
|
||||
chdir("/");
|
||||
}
|
||||
time_postfork();
|
||||
lockfile_postfork();
|
||||
break;
|
||||
|
||||
case -1:
|
||||
|
Reference in New Issue
Block a user