Manage workers pool to optimise simultaneous jobs.

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
User avatar
jczic
Posts: 11
Joined: Fri Sep 01, 2017 2:10 am
Location: Paris, France
Contact:

Manage workers pool to optimise simultaneous jobs.

Post by jczic » Tue Oct 22, 2019 3:27 pm

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

;)

nevercast
Posts: 6
Joined: Tue Oct 22, 2019 11:37 pm

Re: Manage workers pool to optimise simultaneous jobs.

Post by nevercast » Tue Oct 22, 2019 11:43 pm

Hi again jczic,

that URL is malformed ;)

User avatar
pythoncoder
Posts: 4351
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Manage workers pool to optimise simultaneous jobs.

Post by pythoncoder » Wed Oct 23, 2019 5:56 am

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).
Peter Hinch

Post Reply