From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Sat, 06 Dec 2008 21:58:55 +0000 Message-ID: <87ljutge3k.fsf@freemail.hu> References: <28ea42436516c786f86df564cafe07e3@vanilla.net.mt> <87prk8mhg9.fsf@vanilla.net.mt> <87oczq69cn.fsf@vanilla.net.mt> <87prk64ilv.fsf@vanilla.net.mt> <87wseefoz2.fsf@master.homenet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228600771 9307 80.91.229.12 (6 Dec 2008 21:59:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Dec 2008 21:59:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 06 23:00:35 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 1L95CT-0001m8-V9 for ged-emacs-devel@m.gmane.org; Sat, 06 Dec 2008 23:00:34 +0100 Original-Received: from localhost ([127.0.0.1]:36368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L95BG-0007MG-D4 for ged-emacs-devel@m.gmane.org; Sat, 06 Dec 2008 16:59:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L95BB-0007Lt-Oj for emacs-devel@gnu.org; Sat, 06 Dec 2008 16:59:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L95BA-0007LV-Vv for emacs-devel@gnu.org; Sat, 06 Dec 2008 16:59:13 -0500 Original-Received: from [199.232.76.173] (port=33637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L95BA-0007LS-PB for emacs-devel@gnu.org; Sat, 06 Dec 2008 16:59:12 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:43530 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L95BA-0003S2-6v for emacs-devel@gnu.org; Sat, 06 Dec 2008 16:59:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L95B4-0000f5-1E for emacs-devel@gnu.org; Sat, 06 Dec 2008 21:59:06 +0000 Original-Received: from host86-160-11-213.range86-160.btcentralplus.com ([86.160.11.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2008 21:59:06 +0000 Original-Received: from mange by host86-160-11-213.range86-160.btcentralplus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2008 21:59:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host86-160-11-213.range86-160.btcentralplus.com Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:MRvhGYXVG2hO4XnubjmbMG9aPsY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:106635 Archived-At: Giuseppe Scrivano writes: > Personally I don't think there is need to use a library that at the > moment is usable only on an architecture, it will be a serious > portability problem for Emacs (that probably after "Hello World" is the > most portable program out there). > All we need for a multi-threaded Emacs can be done quite easily with > pthreads. Or GNU pth, which I'm surprised that noone has mentioned. It does cooperative threading with a pthread-like interface, yielding at I/O operations and some other syscalls. http://www.gnu.org/software/pth/ Of course, whoever writes the code gets to choose the library. Good luck with your endeavour! I look forward to the results. Magnus