Date: Tue, 3 Jun 1997 08:32:05 PDT From: Bill Fenner <fenner@parc.xerox.com> To: cvs-etc@freebsd.org, cvs-all@freebsd.org, cvs-committers@freebsd.org Subject: Re: cvs commit: src/etc rc Message-ID: <97Jun3.083213pdt.177489@crevenia.parc.xerox.com>
next in thread | raw e-mail | index | archive | help
Don't forget that if you use a flock(), there is a race condition when two seperate processes are checking to see if the daemon is running where one process may think it's not running (its attempt to lock the pidfile succeeds) and the other process thinks it's running (since its attempt fails since the first process hadn't released its lock yet). Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97Jun3.083213pdt.177489>