From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Thu, 04 Dec 2008 03:45:46 -0500 Message-ID: References: <28ea42436516c786f86df564cafe07e3@vanilla.net.mt> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1228380391 14943 80.91.229.12 (4 Dec 2008 08:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 08:46:31 +0000 (UTC) Cc: gscrivano@gnu.org, emacs-devel@gnu.org To: "ak70" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 04 09:47:33 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 1L89rx-0007Js-2K for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 09:47:33 +0100 Original-Received: from localhost ([127.0.0.1]:42961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L89qm-00044W-Nt for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 03:46:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L89qi-00044R-Fq for emacs-devel@gnu.org; Thu, 04 Dec 2008 03:46:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L89qh-000440-VU for emacs-devel@gnu.org; Thu, 04 Dec 2008 03:46:16 -0500 Original-Received: from [199.232.76.173] (port=56259 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L89qh-00043i-R9 for emacs-devel@gnu.org; Thu, 04 Dec 2008 03:46:15 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L89qh-0006k1-8n for emacs-devel@gnu.org; Thu, 04 Dec 2008 03:46:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L89qE-0006yp-0y; Thu, 04 Dec 2008 03:45:46 -0500 In-reply-to: <28ea42436516c786f86df564cafe07e3@vanilla.net.mt> (ak70@vanilla.net.mt) 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:106551 Archived-At: It could be a useful package to develop further, for general purposes. I cannot tell whether it might be useful in Emacs because your message does not address the crucial questions. It uses the two level scheduling model, i.e. we have m user level threads running on top of n kernel threads. Is the distinction between user-level threads and kernel threads a matter of optimization, or is it a user-level feature? Under what circumstances does it switch threads? For the user, how does this differ from pthreads?