Threads in LC

JeeJeeStudio jeejeestudio at gmail.com
Fri Jan 1 11:46:19 EST 2021


Thanks Bob, will try some out.

regards,

Jerry

Op 31-12-2020 om 18:22 schreef Bob Sneidar via use-livecode:
> You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages).
>
> Bob S
>
>
> On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
>
> Hi Jerry,
>
> What version of Raspberry PI are you using?
>
> If you are using an older version of Raspberry PI just replacing it
> with a newer version might be your best work around.  The older
> PI’s are pretty slow.  Have you looked into Banana PI for instance?
>
> While LC isn’t multi-threaded there may be a work around which
> could make it behave as though it was.  Have you tried Send in Time?
>
> How often are you telling your stepper motor to run?  Once in every
> 10 milliseconds or once in every 20 milliseconds etc?
>
> Good luck!
>
> Rick
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list