A micro workers class that easily manages a pool of threads to optimise simultaneous jobs and jobs endings, for MicroPython.
https://github.com/jczic/MicroWorkers
Manage workers pool to optimise simultaneous jobs.
Manage workers pool to optimise simultaneous jobs.
Last edited by jczic on Sun Jan 22, 2023 8:58 pm, edited 2 times in total.
Re: Manage workers pool to optimise simultaneous jobs.
Hi again jczic,
that URL is malformed
that URL is malformed
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Manage workers pool to optimise simultaneous jobs.
Try https://github.com/jczic/MicroWorkers.git.
As the original post suggests, the underlying mechanism is _thread (preemptive multi tasking) rather than uasyncio (cooperative multi tasking).
As the original post suggests, the underlying mechanism is _thread (preemptive multi tasking) rather than uasyncio (cooperative multi tasking).
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.