[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) |
Hi,
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.
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.
- Re: guile-1.8.1 - problems on AMD64, (continued)
- Re: guile-1.8.1 - problems on AMD64, Ludovic Courtès, 2006/10/10
- Re: guile-1.8.1 - problems on AMD64, Stanislav Ievlev, 2006/10/11
- Re: guile-1.8.1 - problems on AMD64, Kevin Ryde, 2006/10/11
- Re: guile-1.8.1 - problems on AMD64, Ludovic Courtès, 2006/10/12
- Re: guile-1.8.1 - problems on AMD64, Stanislav Ievlev, 2006/10/13
- Re: guile-1.8.1 - problems on AMD64, Ludovic Courtès, 2006/10/13
- Re: guile-1.8.1 - problems on AMD64, Neil Jerram, 2006/10/14
- Re: guile-1.8.1 - problems on AMD64, Stanislav Ievlev, 2006/10/16
- Re: guile-1.8.1 - problems on AMD64, Ludovic Courtès, 2006/10/16
- Re: guile-1.8.1 - problems on AMD64, Neil Jerram, 2006/10/19
- Re: guile-1.8.1 - problems on AMD64,
Ludovic Courtès <=