From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-1.8.1 - problems on AMD64 Date: Sat, 21 Oct 2006 15:12:32 +0200 Organization: LAAS-CNRS Message-ID: <87iridyfr3.fsf@laas.fr> References: <20061010063445.GA30335@basalt.office.altlinux.org> <87slhw60l8.fsf@laas.fr> <20061011110153.GA12594@basalt.office.altlinux.org> <87r6xdher1.fsf@laas.fr> <20061013062617.GD8294@basalt.office.altlinux.org> <873b9sfyx6.fsf@laas.fr> <87vemnca65.fsf@ossau.uklinux.net> <20061016062540.GE17598@basalt.office.altlinux.org> <873b9ou1nw.fsf@laas.fr> <871wp43zzz.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161436419 15008 80.91.229.2 (21 Oct 2006 13:13:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2006 13:13:39 +0000 (UTC) Cc: guile-devel@gnu.org, ldv@altlinux.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Oct 21 15:13:37 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GbGfO-0005W6-PH for guile-devel@m.gmane.org; Sat, 21 Oct 2006 15:13:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbGfO-00076R-1U for guile-devel@m.gmane.org; Sat, 21 Oct 2006 09:13:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbGfL-00076C-89 for guile-devel@gnu.org; Sat, 21 Oct 2006 09:13:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbGfK-00075q-Cr for guile-devel@gnu.org; Sat, 21 Oct 2006 09:13:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbGfK-00075h-7c for guile-devel@gnu.org; Sat, 21 Oct 2006 09:13:30 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GbGfJ-0000lS-WE for guile-devel@gnu.org; Sat, 21 Oct 2006 09:13:30 -0400 Original-Received: by laas.laas.fr (8.13.7/8.13.4) with SMTP id k9LDDLJ2024095; Sat, 21 Oct 2006 15:13:25 +0200 (CEST) Original-To: Neil Jerram X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 30 =?iso-8859-1?Q?Vend=E9miaire?= an 215 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Neil Jerram , Stanislav Ievlev , guile-devel@gnu.org, ldv@altlinux.org In-Reply-To: <871wp43zzz.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 19 Oct 2006 19:46:24 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6168 Archived-At: Hi, Neil Jerram writes: > I think it's writing a byte as an inter-thread signaling mechanism. > It's pretty unlikely that a single byte write will be interrupted, but > if it is then a retry will be needed, so I think the use of > SCM_SYSCALL is correct in principle here. Ok. > How about this, which is more similarly to the other uses of > SCM_SYSCALL in the code? > > SCM_SYSCALL (rv = write (sleep_fd, &dummy, 1)); Looks good. How about also checking whether RV is actually equal to 1 then (and loop if it's lower than 1)? (I know it is unlikely that RV will be different from 1 but the API specification leaves this possibility open and it's certainly not impossible.) Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel