chicken-users
[Top][All Lists]
Advanced

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

Re : [Chicken-users] writing from a thread issue


From: minh thu
Subject: Re : [Chicken-users] writing from a thread issue
Date: Fri, 12 Jan 2007 12:49:15 +0100

2007/1/12, felix winkelmann <address@hidden>:
On 1/12/07, minh thu <address@hidden> wrote:
>
> (define (poll-for-event)
>   (define (poll) ((write "in poll-for-event") ; not shown

That line above has a "(" to much. The arguments become
evaluated, but before the write is executed, the call to "poll"
is. The write is in operator position and might be executed
after the "(poll)".

Just remove the parens around the forms in "poll".


cheers,
felix

Oh thanks, I've looked at something like this but didn't find (so stupid).
And sorry too,

thu




reply via email to

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