Re: [Chicken-users] 'f_125' undeclared with (declare (block))

2013-12-09 Thread Jörg F. Wittenberger
Am 08.12.2013 19:01, schrieb .alyn.post.: I'm getting an error message when I use |(declare (block))|. ... what's going on with |(declare (block))| here? I don't understand the documentation on this declare option to know whether I'm doing something wrong or whether this code cannot be

Re: [Chicken-users] #invalid forwarded object using FFI callback

2013-12-09 Thread Jörg F. Wittenberger
Am 08.12.2013 18:21, schrieb John Cowan: .alyn.post. scripsit: I'm trying to read /etc/passwd using getpwent(3) and store each record returned in a scheme list. The very first thing I would try is switching to getpwent_r(), because the fact that getpwent() uses a static buffer internally may

Re: [Chicken-users] trying to gracefully stop threads

2013-12-09 Thread Jörg F. Wittenberger
Strange: I can NOT reproduce this problem. Which chicken and which OS are you on? Am 07.12.2013 20:23, schrieb Michael Greenly: I've been trying to learn how threads work but have become a bit stumped by this example: https://gist.github.com/mgreenly/7847072#file-graceful-scm My assumption

Re: [Chicken-users] trying to gracefully stop threads

2013-12-09 Thread Andy Bennett
Hi, I've been trying to learn how threads work but have become a bit stumped by this example: https://gist.github.com/mgreenly/7847072#file-graceful-scm Also, beware bug #1067 when using 'done' like this in compiled code: http://bugs.call-cc.org/ticket/1067 Regards, @ndy --

Re: [Chicken-users] trying to gracefully stop threads

2013-12-09 Thread Andy Bennett
On 07/12/13 19:23, Michael Greenly wrote: I've been trying to learn how threads work but have become a bit stumped by this example: https://gist.github.com/mgreenly/7847072#file-graceful-scm My assumption is that the thread would be started and recurs until done becomes false at which