On Tue, Mar 4, 2008 at 2:45 PM, Jim Ursetto <address@hidden> wrote:
Did you try using rlwrap? It works fine here.
$ rlwrap csi
#;1> (use srfi-18)
#;2> (thread-start! (lambda () (let loop () (printf "loop~%") (thread-sleep! 1)
(loop))))
#<thread: thread0>
#;3> loop
loop
loop
loop
That's interesting. But I figured it's a bad design for the dbus egg
to only work under some circumstances, and I found one that will not
work if I bury the pollling thread inside the egg.
Maybe the answer is that srfi-18 is a toy, don't take it too
seriously... or just don't depend on it, because it's up to the user
to choose to use it or not.
It's a general pattern that I'm looking for: what to do when an egg
needs to do polling and/or callbacks...
_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users