[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for fields of `struct buffer'
From: |
Richard Stallman |
Subject: |
Re: Patch for fields of `struct buffer' |
Date: |
Tue, 01 Feb 2011 21:43:07 -0500 |
If you link against GNU Pth, the threading primitives become practically
free aside from the few hundred pointers referring to global Lisp
variables. I doubt the aggregate impact of following those indirections
would have much of an impact over all the pointer-chasing Lisp code
already performs. (How many cons cell are used for the output of
parse-partial-sexp?)
Emacs is sometimes rather slow already on this machine.
One approach successfully applied to other systems that make assumptions
about a lack of preemptive concurrency is to put large locks around the
sensitive portions and gradually split these locks up over time as the
code is improved. Subrs not specially marked as concurrency-safe could
be made to automatically take such a lock on entry,
I don't know how well that would work out in practice in Emacs,
but someone could give it a try.
--
Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org
- Re: Installing `struct buffer' patch, (continued)
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/14
- Re: Installing `struct buffer' patch, Chong Yidong, 2011/02/14
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/14
- Re: Installing `struct buffer' patch, Stefan Monnier, 2011/02/14
- Re: Installing `struct buffer' patch, Chong Yidong, 2011/02/15
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/16
- Re: Installing `struct buffer' patch, Richard Stallman, 2011/02/15
- Re: Installing `struct buffer' patch, Glenn Morris, 2011/02/14
- Re: Installing `struct buffer' patch, Tom Tromey, 2011/02/15
Re: Patch for fields of `struct buffer', Daniel Colascione, 2011/02/01
- Re: Patch for fields of `struct buffer',
Richard Stallman <=
Re: Patch for fields of `struct buffer', Daniel Colascione, 2011/02/01
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/06
- concurrency suggestions for Gnus (was: Patch for fields of `struct buffer'), Ted Zlatanov, 2011/02/07
- Re: concurrency suggestions for Gnus, Miles Bader, 2011/02/07
- Re: concurrency suggestions for Gnus, Andy Moreton, 2011/02/08
- Re: concurrency suggestions for Gnus, Justin Lilly, 2011/02/08
- bloom filters (was: concurrency suggestions for Gnus), Ted Zlatanov, 2011/02/08
- bloom filters (was: concurrency suggestions for Gnus), Stephen J. Turnbull, 2011/02/08
Re: concurrency suggestions for Gnus, Lars Ingebrigtsen, 2011/02/10
Re: Patch for fields of `struct buffer', Stephen J. Turnbull, 2011/02/01