|
From: | Elf |
Subject: | Re: [Chicken-users] readline blocks threads |
Date: | Tue, 4 Mar 2008 11:05:22 -0800 (PST) |
um... repl will always block threads. as the docs state, read is blocking except for certain network ports. -elf On Tue, 4 Mar 2008, Shawn Rutledge wrote:
If you do (use readline) (current-input-port (make-gnu-readline-port "csi> ")) (thread-start! (lambda () (let loop () (printf "loop~%") (loop)))) the thread doesn't run in the background anymore, presumably because readline uses blocking I/O. _______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |