[Top][All Lists]

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

Re: Problem with portable dumper

From: Michael Albinus
Subject: Re: Problem with portable dumper
Date: Sun, 16 Feb 2020 17:56:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

Hi Eli,

> Btw, on a more general note: I presume that your code has a way to
> disable threading in file I/O.  (If it doesn't, it should IMO, for
> debugging purposes and also for situations where threading cannot be
> allowed for some other reasons.)  Then you could simply arrange for
> threading to be disabled during dumping, and enable it in startup.el
> when Emacs starts normally.  And when threading is disabled, there
> should be no need to have any mutex variables.

For the time being, I haven't given disabling threading much
attention. There is just an additional optional argument ASYNC for the
find-file-* functions and friends.

But yes, when it will be ready for merge into master, it must be
possible to disable this in general. Debugging is one example, an Emacs
configured --without-threads another one.

Best regards, Michael.

reply via email to

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