[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Live coding" on Mac OS X
From: |
Vasilij Schneidermann |
Subject: |
Re: "Live coding" on Mac OS X |
Date: |
Tue, 11 May 2021 16:16:47 +0200 |
Hello Arnaud,
> But it's not working properly: What I observe is that when I change a
> procedure that's called from the background thread, the thread becomes
> blocked. Is this some new behaviour that's not taken into account in
> those posts?
It's tricky to reproduce such issues without a minimal repro. I wrote my
own and I do not experience such behavior. When I run the attached file
with `csi -:x test.scm`, I see it printing 1 every 10s. I can then
copy-paste `(define (game-loop-iteration) (print 2))` into the REPL and
if I wait another 10 seconds, it prints 2. Do you have the same
behavior? If yes, then chances are it's the fault of the code change
(for example it might perform a thread blocking operation).
> $ csi -version
> CHICKEN
> (c) 2008-2020, The CHICKEN Team
> (c) 2000-2007, Felix L. Winkelmann
> Version 5.2.0 (rev 317468e4)
> macosx-unix-clang-x86-64 [ 64bit dload ptables ]
>
> I am on Mac OS X Catalina 10.15.7.
I'm on the same CHICKEN version, but on Arch Linux.
Vasilij
test.scm
Description: Text document
signature.asc
Description: PGP signature