[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] File locking
Lockfiles are used in Leafnode to avoid race conditions with respect
to the groupinfo file. That is, only one application that modifies
the groupinfo file can run at a time (i.e. fetch, texpire and applyfilter
are mutually exclusive).
However, if we want to implement local groups there will be a problem,
because the nntpd itself will have to modify the groupinfo file. It would
be quite stupid (IMO) if the nntpd would also use the current locking
mechanism because this would make it impossible to run fetch (or any
other program) in the background while reading news. Therefore, it would
be important to come up with a different solution. I have thought quite
hard about this, but have not come up with a good idea.
Any of the geeks out there who can help me?
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: phak004@xxxxxxxxxxxxxxxxxxxxxx SP4 */
/* "Science is the game we play with God to find out what His rules are." */
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list