Multithreading or Multitasking?

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
tarun2121
Posts: 9
Joined: Wed Oct 22, 2014 9:55 am

Multithreading or Multitasking?

Post by tarun2121 » Fri Oct 31, 2014 11:38 am

Hello All
I need to use multithreading with micropython? Since there is no such library included by default(correct me if i am wrong). How can I use mutithreading then? or is there any alternative?


-Tarun

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Multithreading or Multitasking?

Post by dhylands » Fri Oct 31, 2014 2:35 pm

A search in the forum using the word multithreading brings up this tthread: http://forum.micropython.org/viewtopic.php?f=2&t=281

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

Re: Multithreading or Multitasking?

Post by pythoncoder » Sat Nov 01, 2014 8:18 am

For a simple implementation of cooperative multi-threading see
https://github.com/peterhinch/Micropython-scheduler

Regards, Pete
Peter Hinch
Index to my micropython libraries.

Post Reply