On 1/28/21 10:34 AM, Zack Weinberg wrote:
we could instead use the
battle-tested technique used by Emacs: symlink sentinels.  (See
https://git.savannah.gnu.org/cgit/emacs.git/tree/src/filelock.c  .)

Although that Emacs code is battle-tested, one of the things it does is fall back on regular files on platforms where symlinks don't work.

Might be simpler to use a directory sentinel.

The main reason I can think of, not to do this, is that it would make
the locking strategy incompatible with that used by older autom4te;

I would say "don't do that"; just stick with current autom4te.

Reply via email to