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: Wed, 22 Aug 2018 20:40:49 +0300

> From: Tom Tromey <address@hidden>
> Date: Wed, 22 Aug 2018 10:24:49 -0600
> Cc: address@hidden, address@hidden, Eli Zaretskii <address@hidden>,
>       address@hidden, address@hidden
> 
> >>>>> "Richard" == Richard Stallman <address@hidden> writes:
> 
> Richard> If it is ok not to support that, maybe we should take a different
> Richard> approach, such as assigning any given terminal to one thread.
> 
> This was what I'd planned to do in the past but never got around to.  A
> first step would be to make a new thread for each terminal and arrange
> for the terminal's file descriptor to be thread-locked.  This didn't
> seem very hard.  Once that's done I guess higher-level problems could be
> looked into; I don't really know this area well though.

Please describe the proposed solution in more detail, because I'm not
sure I understand it.  By "new thread" do you mean a Lisp thread of
the kind made by make-thread, which will run only after it succeeds in
grabbing the global lock?  Or do you mean some other kind of thread?

Thanks.



reply via email to

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