emacs-devel
[Top][All Lists]
Advanced

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

Re: Questions about throw-on-input


From: Philipp Stephani
Subject: Re: Questions about throw-on-input
Date: Fri, 15 May 2020 21:46:43 +0200

Am Fr., 15. Mai 2020 um 20:43 Uhr schrieb Alexander Miller <address@hidden>:
>
> I think every one's been talking about sharing data so far, but what
> about the other part of the equation 'shared + mutable state = Bad'? Do
> you think it would be feasible to remove mutability by giving side
> threads only read-only access to all that global shared data?

I don't think that would be enough. Immutable data truly needs to be
immutable, for all threads and forever. Otherwise the side threads
would still encounter random state changes made by the main thread.



reply via email to

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