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).