[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Chicken and GUI programming
From: |
Michele La Monaca |
Subject: |
Re: [Chicken-users] Chicken and GUI programming |
Date: |
Mon, 29 Jul 2013 23:45:37 +0200 |
On Sun, Jul 28, 2013 at 1:27 AM, Felix
<address@hidden> wrote:
> Does it freeze while the long-running operation is in progress,
> or does it freeze indefinitely?
The app is only unresponsive while the long-running operation is being executed.
>> So my question is: it's just me not properly using Chicken's
>> "cooperative" threads (which might be well the case since I am not
>> accustomed to those), or I've hit an intrinsic limit of Chicken being
>> single threaded (in the pthread sense of "concurrent" threads)?
>
> The threads CHICKEN uses are not compatible with native threads.
> The CHICKEN-runtime is definitely single threaded. For UNIXish
> systems + pthreads there is an egg that does what Christian
> describes, but including full thread-synchronization:
>
> http://wiki.call-cc.org/eggref/4/concurrent-native-callbacks
I'll take a close look at that. Thanks.
Michele