From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Upcoming: handy history extensions
Date: Wed, 5 May 1999 03:51:39 -0700 [thread overview]
Message-ID: <990505035139.ZM32285@candle.brasslantern.com> (raw)
In-Reply-To: <9905050811.AA13411@ibmth.df.unipi.it>
On May 5, 10:11am, Peter Stephenson wrote:
} Subject: Re: Upcoming: handy history extensions
}
} > Another issue is history-file locking. I think we want to lock the
} > file when doing incremental updating (especially since re-writing
} > now occurs much more frequently).
}
} [...] checking for fcntl/F_SETLKW etc., lockf/F_LOCK etc., flock/LOCK_SH
} etc. should be straightforward [...]
It would be much better to go with a file-based locking protocol, like the
one in procmail. I believe there's a freely-reusable module in procmail
to create those locks; there's a copy of same in the mush mailer sources
(ftp://cse.ogi.edu/pub/mush) if the one in procmail is too ugly.
} Then there's the whole Lockdaemon From Hell saga, which we had
} better just forget about.
If you don't want your shell locking up your entire machine, you'd better
not forget about it ... which is why using any of the kernel-based locking
mechanisms is right out.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
prev parent reply other threads:[~1999-05-05 10:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-04 19:42 Wayne Davison
1999-05-05 8:11 ` Peter Stephenson
1999-05-05 10:51 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=990505035139.ZM32285@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).