help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Best way to check file modification time?


From: Stefan Monnier
Subject: Re: Best way to check file modification time?
Date: Fri, 20 Nov 2015 09:50:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Yes, I figured that. I was just wondering if there were a standard way
> of dealing with such cases, since AFAIU it is possible to put a lock on
> a file on the OS level. But Emacs doesn't do that, right?

Locking in general is difficult, and on top of that locking in POSIX is
a big mess.  So you have to restrict the problem by considering which
other programs might interfere (and what kind of locking they might
use), as well how much effort you're willing to expend and what amount
of breakage you're willing to live with.


        Stefan




reply via email to

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