]> diplodocus.org Git - nmh/blob - docs/historical/2.9BSD/strings/lockdir.c
Added start_test/finish_test to a bunch of tests.
[nmh] / docs / historical / 2.9BSD / strings / lockdir.c
1 /*
2 * This is where the lock files are kept. It MUST be on the same
3 * file system as the "mailboxes" directory. It also must be read/
4 * write by the world. When a mailbox needs locking (while being
5 * read and cleared by inc, or written by deliver), a link to the
6 * mailbox is made in this directory, under the same name (i.e., the
7 * users name). Links are one of the few things even a privileged
8 * process (deliver) cannot over-ride. The deliver process waits
9 * for lockwait seconds for the lock to clear, then it over-rides
10 * the lock. This number should be set around 15-30 seconds in the
11 * case of a VERY loaded system.
12 */
13
14 char *lockdir = "/usr/spool/locks/";
15 int lockwait = 15; /* Seconds */