[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the problem?
From: |
Martin Stjernholm |
Subject: |
Re: What's the problem? |
Date: |
Sun, 14 Dec 2003 04:21:49 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) |
Richard Stallman <address@hidden> wrote:
> /.../ So thread-switching would take some time. We would want to
> make sure it does not happen very often.
That's a good design principle anyway since thread switches never are
very cheap. Avoiding fine grained locking is afaics the best way to
ensure that thread switches happens seldom. With only buffer local
locks, every callback would normally run to completion in a single
thread slice since threads can't lock out each other. Thread switches
would only occur when things have blocked in I/O (and speed isn't a
factor then), or when cpu bound work is preempted.
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), (continued)
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Ted Zlatanov, 2003/12/08
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), David Kastrup, 2003/12/08
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Martin Stjernholm, 2003/12/08
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Ted Zlatanov, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), David Kastrup, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Stefan Monnier, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), David Kastrup, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Stefan Monnier, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Ted Zlatanov, 2003/12/10
- Message not available
- Message not available
- Message not available
- Message not available
- Re: What's the problem?, Richard Stallman, 2003/12/13
- Re: What's the problem?,
Martin Stjernholm <=
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Martin Stjernholm, 2003/12/11
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Martin Stjernholm, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Stefan Monnier, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Stefan Monnier, 2003/12/08
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Ted Zlatanov, 2003/12/09
- Re: What's the problem? (Was: Are there plans for a multi-threaded Emacs?), Stefan Monnier, 2003/12/09
- Re: What's the problem?, Simon Josefsson, 2003/12/08
- Re: What's the problem?, Juri Linkov, 2003/12/09
- Re: What's the problem?, Simon Josefsson, 2003/12/09
- Re: What's the problem?, Miles Bader, 2003/12/10