opensubscriber
   Find in this group all groups
 
Unknown more information…

e : emacs-devel@gnu.org 17 June 2005 • 8:56AM -0400

Re: Threads in emacs implementation
by Miles Bader

REPLY TO AUTHOR
 
REPLY TO GROUP




On 6/17/05, Ted Zlatanov <tzz@life...> wrote:
> > This is not really true for typical elisp programs -- global variables
> > (especially buffer-local global variables) are used extremely often,
> > and in almost every case must be "truly global" (visible in all
> > threads).
>
> At the time of the fork, the thread will pick up all globals.  I was
> talking about important globals that are modified after the fork.  At
> least my experience has been that after you initialize Emacs, it's
> rare to modify globally important variables unless you are
> specifically customizing Emacs.

No, it's _extremely_ common.

A huge amount of the actively maintained state in Emacs is stored in
global variables (often buffer-local of course, but still "global" as
far as threads are concerned).

-Miles
--
Do not taunt Happy Fun Ball.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu....
http://lists.gnu.org/mailman/listinfo/emacs-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.