From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Mon, 01 Dec 2008 07:17:38 +0900 Message-ID: <87vdu4eu4d.fsf@catnip.gol.com> References: <87abbiody1.fsf@master.homenet> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228083531 24395 80.91.229.12 (30 Nov 2008 22:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 22:18:51 +0000 (UTC) Cc: Giuseppe Scrivano , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 30 23:19:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6udt-00060Y-7D for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 23:19:53 +0100 Original-Received: from localhost ([127.0.0.1]:55618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6uci-0007EL-Hq for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 17:18:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6ubw-0006sF-EN for emacs-devel@gnu.org; Sun, 30 Nov 2008 17:17:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6ubu-0006q7-0l for emacs-devel@gnu.org; Sun, 30 Nov 2008 17:17:51 -0500 Original-Received: from [199.232.76.173] (port=51176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6ubt-0006q4-Ts for emacs-devel@gnu.org; Sun, 30 Nov 2008 17:17:49 -0500 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:58386) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6ubp-0007NA-8J; Sun, 30 Nov 2008 17:17:45 -0500 Original-Received: from 218.231.174.254.eo.eaccess.ne.jp ([218.231.174.254] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1L6ubn-000519-35; Mon, 01 Dec 2008 07:17:43 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 3C13FDFD1; Mon, 1 Dec 2008 07:17:38 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Richard M. Stallman's message of "Sun, 30 Nov 2008 11:43:21 -0500") Original-Lines: 17 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106345 Archived-At: Richard M Stallman writes: > > (create-thread) > (with-thread id '(code)) > (kill-thread id) > > It seems to me that `with-thread' should be renamed to > `run-in-thread'. Meanwhile, `with-thread' should be a macro that > creates a new thread, starts running the body code in it, and will > kill it when that body code finishes. Also, create-thread should be "make-thread". -Miles -- ((lambda (x) (list x x)) (lambda (x) (list x x)))