Implement library for lockfiles and use it in cfg code.
authorBen Pfaff <blp@nicira.com>
Wed, 14 Oct 2009 23:52:04 +0000 (16:52 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 29 Oct 2009 22:20:56 +0000 (15:20 -0700)
commitac718c9dbde6340a85d18c5c8d555d8e0ec88bb3
tree3d76405b2e9010d606f1467de0e1704156644288
parent8ca79daaa04ca3d5edcacf84646d953569f55cb6
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.
lib/automake.mk
lib/cfg.c
lib/daemon.c
lib/lockfile.c [new file with mode: 0644]
lib/lockfile.h [new file with mode: 0644]
lib/vlog-modules.def
tests/automake.mk
tests/lockfile.at [new file with mode: 0644]
tests/test-lockfile.c [new file with mode: 0644]
tests/testsuite.at