This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: fport_fill_input SIGWINCH error
- To: guile at sourceware dot cygnus dot com
- Subject: Re: fport_fill_input SIGWINCH error
- From: Chris Cramer <crayc at kiwi dot pyro dot net>
- Date: Fri, 19 May 2000 16:01:42 -0500
- References: <00May19.131526edt.17026@gateway.elms.k12.oh.us>
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/