>i propose that
>the locking fopen function in the MH library be adapted to be willing to
>try the advisory lock three times at one second intervals, on the
>assumption that no writer will hold the lock that long and if there's a
>convoy then we've got bigger problems. (ideally we'd do a wait-lock in a
>thread and kill that thread if it waits too long, but threads would not
>be "the MH way".)

I guess I was thinking in my head of the lock completely blocking, but
you think that having a timeout makes more sense?  I'm neutral on that.
There's not a portable way of having a lock timeout other than loop/sleep,
is there?

--Ken

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to