Read the specs of the maildir format at <http://cr.yp.to/proto/maildir.html> - quite a profound lesson to be learnt about the combined power of the filesystem and atomic syscalls when it comes to designing systems which are robust and avoid contention issues (e.g. flock over NFS).
I would recommend against reinventing the wheel here.
In reply to Re^2: Reliable Work Queue Manager
by Adze
in thread Reliable Work Queue Manager
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |