Greetings,

This is probably an autoconf bug instead of a Guile bug, but I thought I'd send it in 
anyway.

On my system, Linux kernel 2.2.14, autoconf detects that system calls are restartable. 
 When guile is configured without thread support, changing the size of an xterm window 
causes guile to return
from a read() (and throw an error).  If the macro HAVE_RESTARTABLE_SYSCALLS is not 
#defined, this does not happen.

Autoconf detects restartable system calls by forking a process, and waiting on the 
child.  The child sends the parent an interrupt during the wait.  The code detects if 
the wait was restarted or not.

Would it be better to more closely simulate what's actually happening?  Something like 
sending an interrupt while doing a read?

Right now, I just have to remember to comment out the HAVE_RESTARTABLE_SYSCALLS in 
scmconfig.h if I am compiling without threads.

-Dale
-- 
Dale P. Smith
Altus Technologies Corp.
[EMAIL PROTECTED]
400-746-9000 x309

Reply via email to