From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp and Guile Date: 07 Nov 2002 20:32:14 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207200035.g6K0ZAb27891@aztec.santafe.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036702794 27038 80.91.224.249 (7 Nov 2002 20:59:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 20:59:54 +0000 (UTC) Cc: raeburn@raeburn.org, emacs-devel@gnu.org, mvo@zagadka.ping.de Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189tkm-00071w-00 for ; Thu, 07 Nov 2002 21:59:52 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189ttv-00027C-00 for ; Thu, 07 Nov 2002 22:09:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189tcB-0003Qv-00; Thu, 07 Nov 2002 15:50:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189tNf-0003yT-00 for emacs-devel@gnu.org; Thu, 07 Nov 2002 15:35:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189tNd-0003xQ-00 for emacs-devel@gnu.org; Thu, 07 Nov 2002 15:35:58 -0500 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 189tMp-0003iO-00; Thu, 07 Nov 2002 15:35:07 -0500 Original-Received: from laruns.ossau.uklinux.net (bts-0045.dialup.zetnet.co.uk [194.247.48.45]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id gA7KZ1l15303; Thu, 7 Nov 2002 20:35:02 GMT Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1]) by laruns.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 58535DC129; Thu, 7 Nov 2002 20:32:14 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 30 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9239 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9239 >>>>> "Richard" == Richard Stallman writes: Ken> One of my concerns in that area is with mixing Lisp dynamic bindings Ken> and Guile thread support. If we want multi-threaded Lisp, do we pass Ken> around some sort of environment pointer, or call thread-aware routines Ken> to fetch current environment info? Neil, does your code try to Ken> support multi-threaded Lisp? Neil> No, it doesn't. Richard> This is a serious issue. Multi-thread support is a usefu thing, and Richard> when we add primitives, we should preserve multi-thread support if at Richard> all possible. Richard> Can you and Guile developers work on a way to do this with Richard> multi-thread support? I'm not sure I understand. Previously you said that you didn't think it would be possible to implement a preemptively multithreaded Emacs, because there is too much existing Elisp code that is not thread-safe. When I said "No" above, I meant that my code doesn't do anything special to support multithreading. I thought this would be OK in the light of your opinion just described. If you mean that new primitives should be thread-safe in the sense of, e.g., avoiding accessing global data without a mutex, it may be that most of my code already has this property. I will check. Neil