"David T. Ashley" <[EMAIL PROTECTED]> writes:

> OK, I've reviewed Util.py.  I can't find any evidence of
> serialization.  I also reviewed the 'C' fopen() function with "a+"
> mode, and I also can't find any evidence of serialization.

See http://mla.libertine.org/tmda-workers/200110/msg00031.html

For a more detailed treatment of a+/O_APPEND, I'd recommend Richard
Stevens' _Advanced Programming in the UNIX Environment_.

> My concern is if two processes try to append to the file at the same
> time.

Don't be concerned, it's safe on any modern UNIX which follows the
POSIX standard.

What you don't want to do is hand edit the CONFIRM_APPEND file while
qmail is running, since there is no locking going on between TMDA and
your text editor.

This is discussed more in the thread starting at
http://mla.libertine.org/tmda-users/200204/msg00240.html.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to