[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-1.8.1 - problems on AMD64

From: Ludovic Courtès
Subject: Re: guile-1.8.1 - problems on AMD64
Date: Sat, 21 Oct 2006 15:12:32 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)


Neil Jerram <address@hidden> 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.


> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]