Hi, Neil Jerram <[EMAIL PROTECTED]> 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