This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fport_fill_input SIGWINCH error


On Fri, May 19, 2000 at 01:15:26PM -0400, Dale P. Smith wrote:
> When configured without threads, guile throws an error when the xterm that guile is running in is resized.  My guess is that the read() in fport_fill_input is being interrupted by a SIGWINCH and needs
> to be restarted.  This does not happen when guile is configured with threads because of the fport_wait_for_input(port) before the read() ???

The difference between threaded and unthreaded Guile in this case is
that fport_fill_input just calls read() in unthreaded but in threaded
it calls select() first. First thing to do would be to check and see
that the select() call (in coop-threads.c?) is restarted on interruption.

Ugh... if I had internet access at home I could post a patch to fix this
in a few minutes... =^(

-- 
C. Ray C. aka Christopher Cramer
crayc@pyro.net
http://www.pyro.net/~crayc/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]