[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Threads in emacs implementation
From: |
Richard M. Stallman |
Subject: |
Re: Threads in emacs implementation |
Date: |
Tue, 21 Jun 2005 11:13:38 -0400 |
If the secondary thread modifies a global, make the copy then (Copy On
Write).
This would be difficult to implement, considering that a symbol's value
is normally kept in its value cell.
The interpreter would just have to keep a hashtable of hashtables;
primary key is the secondary thread ID and the secondary key is the
global symbol. When a thread modifies a global, look in the HoH; if
the symbol is not in there you create an entry.
That would make the usual case much slower.
I prefer the idea of swapping bindings on thread switches.
- Re: Threads in emacs implementation, (continued)
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/10
- Re: Threads in emacs implementation, Masatake YAMATO, 2005/06/11
- Re: Threads in emacs implementation, Richard Stallman, 2005/06/11
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/15
- Re: Threads in emacs implementation, Miles Bader, 2005/06/15
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/16
- Re: Threads in emacs implementation, Miles Bader, 2005/06/16
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/17
- Re: Threads in emacs implementation, Richard Stallman, 2005/06/17
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/20
- Re: Threads in emacs implementation,
Richard M. Stallman <=
- Re: Threads in emacs implementation, Nic Ferrier, 2005/06/21
- Re: Threads in emacs implementation, Richard M. Stallman, 2005/06/22
- Re: Threads in emacs implementation, Miles Bader, 2005/06/19
- Re: Threads in emacs implementation, Nic Ferrier, 2005/06/20
- Re: Threads in emacs implementation, David Kastrup, 2005/06/20
- Re: Threads in emacs implementation, Nic Ferrier, 2005/06/20
- Re: Threads in emacs implementation, Lennart Borgman, 2005/06/20
- Re: Threads in emacs implementation, Ted Zlatanov, 2005/06/20
Re: Threads in emacs implementation, tomas, 2005/06/08
Re: Threads in emacs implementation, Steven Wu, 2005/06/08