chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] readline blocks threads


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]