From 545145cd582cd80b857760ec11bb5a91b6271506 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 1 Aug 2003 14:11:19 +0000 Subject: * normaliseFState() now locks all output paths prior to building, thus ensuring that simultaneous invocations of Nix don't clobber each other's builds. * Fixed a bug in `make install'. --- src/pathlocks.hh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/pathlocks.hh (limited to 'src/pathlocks.hh') diff --git a/src/pathlocks.hh b/src/pathlocks.hh new file mode 100644 index 000000000000..ae3a37cdb214 --- /dev/null +++ b/src/pathlocks.hh @@ -0,0 +1,18 @@ +#ifndef __PATHLOCKS_H +#define __PATHLOCKS_H + +#include "util.hh" + + +class PathLocks +{ +private: + list fds; + +public: + PathLocks(const Strings & _paths); + ~PathLocks(); +}; + + +#endif /* !__PATHLOCKS_H */ -- cgit 1.4.1