[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threads in emacs implementation

From: Ted Zlatanov
Subject: Re: Threads in emacs implementation
Date: Fri, 10 Jun 2005 15:09:43 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3.50 (gnu/linux)

On Thu, 09 Jun 2005, address@hidden wrote:

>     The greatest obstacle to this seems to be shallow binding - you'd have
>     to unwind one thread's stack and rewind another's when switching
>     threads.  Maybe there's an easier way that I don't see...
> That is how the Lisp Machine worked.  It is not an unreasonable idea.

I think an alternate solution is to have no shared variables between
threads once they are forked, and communicate through standard IPC
(pipes, semaphores, etc.).  This would preserve backwards
compatibility and speed, while using more memory and making the
programmers' job harder (but the lower number of bugs may be worth


reply via email to

[Prev in Thread] Current Thread [Next in Thread]