emacs-devel
[Top][All Lists]
Advanced

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

Re: User interaction from multiple threads


From: Eli Zaretskii
Subject: Re: User interaction from multiple threads
Date: Tue, 28 Aug 2018 08:39:57 +0300

> From: hw <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden,  
> address@hidden,  address@hidden
> Date: Mon, 27 Aug 2018 20:43:08 +0200
> 
> >> Why doesn't Emacs support executing multiple threads in parallel?
> >
> > Because it's much harder, what with all the global resources an
> > editor has.  E.g., consider editing a buffer while another thread
> > decides to modify it or even delete it.
> 
> When multiple threads are running serialized, they still could decide
> --- or already have decided --- to do stuff that is no longer wanted or
> possible by the time they get to run (again).  Or not?

How is this different from a single-threaded session?  There's always
the danger that an operation becomes irrelevant by the time it is
carried out, but the danger should normally be very low.



reply via email to

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