From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: the state of the concurrency branch Date: Sat, 31 Aug 2013 12:57:28 +0300 Message-ID: <83hae6dvxz.fsf@gnu.org> References: <87vc2t7erx.fsf@fleche.redhat.com> <83txicffpe.fsf@gnu.org> <87haeb3lwp.fsf@fleche.redhat.com> <83mwo3f762.fsf@gnu.org> <831u5dg4xz.fsf@gnu.org> <874na9talu.fsf@fleche.redhat.com> <83y57kedo5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377943064 13655 80.91.229.3 (31 Aug 2013 09:57:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Aug 2013 09:57:44 +0000 (UTC) Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 31 11:57:46 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFhwA-0005nC-2S for ged-emacs-devel@m.gmane.org; Sat, 31 Aug 2013 11:57:46 +0200 Original-Received: from localhost ([::1]:54003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFhw9-00083C-Fu for ged-emacs-devel@m.gmane.org; Sat, 31 Aug 2013 05:57:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFhvz-000834-Kf for emacs-devel@gnu.org; Sat, 31 Aug 2013 05:57:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFhvo-0000bA-TM for emacs-devel@gnu.org; Sat, 31 Aug 2013 05:57:35 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFhvo-0000a4-L1 for emacs-devel@gnu.org; Sat, 31 Aug 2013 05:57:24 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MSE0080036USN00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 31 Aug 2013 12:57:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSE0083N3NMPAE0@a-mtaout23.012.net.il>; Sat, 31 Aug 2013 12:57:22 +0300 (IDT) In-reply-to: <83y57kedo5.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163109 Archived-At: One more comments about the concurrency branch: I think the error-handling facilities of the code should be upgraded, to be able to cope with problems in the underlying low-level APIs. For example, what happens if there's some error inside sys_cond_init? Currently, there's no way for it to communicate anything to its callers so that those could handle the problem gracefully. Are implementations supposed to call emacs_abort or signal an error from such a low-level code? If not, we need to at least make sys_* function return some value.