[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Locking (specifically, sequences)

From: Ken Hornstein
Subject: Re: [Nmh-workers] Locking (specifically, sequences)
Date: Mon, 11 Mar 2013 15:38:13 -0400

>so, one of them always has to kill the other, it's just a matter of
>whether the lock succeeds in time or not. obviously there's error
>checking missing here, and signal catching. but mostly this is a
>gigantic performance drainer and should not be done. that's why i
>proposed a loop and LOCK_NB.

Fine with me; I bow to your experience here.

>if "the MH way" could expand to C89 and posix threads, we'd have some
>options that were both performance and correct.

I think we already assume C89 as a minimum.  However, I'm not sure I want
to jump off the threads cliff just yet :-/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]