emacs-devel
[Top][All Lists]
Advanced

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

Re: Asynchronous insertion / saving of buffers


From: Stefan Monnier
Subject: Re: Asynchronous insertion / saving of buffers
Date: Fri, 20 Apr 2012 22:06:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> Yes, this might help. But you still need a kind of infrastructure as you
> have pointed out above.  Would those new APIs differ, when the
> implementation is based on threads, instead of of what I'm doing now?

With threads you could "just" do something like

 (run-thread (lambda ()
               (insert-file-contents ...)
               ...))

so there'd be no need to provide new asynchronous versions of things
like insert-file-contents.


        Stefan



reply via email to

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