[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process. |
Date: |
Sat, 08 Feb 2014 16:22:38 +0200 |
> From: Andreas Schwab <address@hidden>
> Cc: Juri Linkov <address@hidden>, address@hidden
> Date: Sat, 08 Feb 2014 12:16:15 +0100
>
> Eli Zaretskii <address@hidden> writes:
>
> > Isn't it safer to see of the PID that locked the desktop file still
> > runs, and if so, ask for permission?
>
> What if the other instance runs on a different host?
What if the PID is reused?
Yes, we could cater to all these, if we want. But not using even the
PID seems too sloppy, IMO.
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., (continued)
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Juri Linkov, 2014/02/08
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Juanma Barranquero, 2014/02/08
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Juri Linkov, 2014/02/08
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Juanma Barranquero, 2014/02/08
- Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Juanma Barranquero, 2014/02/08
Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process., Eli Zaretskii, 2014/02/08