]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/strings/lockdir.c
Remove final traces of TMA support
[nmh] / docs / historical / mh-jun-1982 / strings / lockdir.c
1 #ifdef COMMENT
2 Proprietary Rand Corporation, 1981.
3 Further distribution of this software
4 subject to the terms of the Rand
5 license agreement.
6 #endif
7
8 /*
9 * This is where the lock files are kept. It MUST be on the same
10 * file system as the "mailboxes" directory. It also must be read/
11 * write by the world. When a mailbox needs locking (while being
12 * read and cleared by inc, or written by deliver), a link to the
13 * mailbox is made in this directory, under the same name (i.e., the
14 * users name). Links are one of the few things even a privileged
15 * process (deliver) cannot over-ride. The deliver process waits
16 * for lockwait seconds for the lock to clear, then it over-rides
17 * the lock. This number should be set around 15-30 seconds in the
18 * case of a VERY loaded system.
19 */
20
21 #include <mailsys.h>
22
23 char *lockdir = MAILLOCKDIR;
24 short lockwait = 15; /* Sec