Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: History file lock contention



On Fri, 23 Jan 2015 21:28:34 +0000
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Fri, 23 Jan 2015 21:00:36 +0000
> Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > On Fri, 23 Jan 2015 20:49:16 +0000
> > Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > > +    long sleep_us = 0x4000000; /* about 67 ms */
> > 
> > 67 *seconds*... that's probably a bit long.  Sorry.
> 
> Apologies, there were more fundamental problems in zsleep_random() that
> were cancelling out the problem above.  The following has now had a bit
> more testing.  Third time lucky.

I've pushed this to Let the Market Decide.  As far as I understand these
things, this can't possibly be wrong.

pws

P.S. being British, I'm immune to complaints about sarcasm.



Messages sorted by: Reverse Date, Date, Thread, Author