:D Shining!
2013/4/3 Marc Feeley feeley@iro.umontreal.ca ..
After further investigation it appears that there is a simpler approach. Simply defining
(define (abort-io port) (input-port-timeout-set! port -inf.0))
is sufficient. There is no need for the thread-interrupt! call because the functions input/output-port-timeout-set! contain the logic to force the waiting thread to wakeup.
Marc