Micro-Robotics logoProduct rangeVM2 controllersStarter kitsApplication boardsDisplay HardwareInterface ModulesFree Tools - overviewVenom LanguageVenomIDEGUI FrameworkLive Server DemoDesign ServiceSkill SetProductionCapabilitiesApplication StoriesVM2 vs. Raspberry Pi
Micro-Robotics icon Products submenu link

Multitasking

Venom has multi-tasking built into the language, not added on as an afterthought. Thus a new task may be created with just one keyword: Resource locking is also built in. In many applications all the locking will be handled by the default mechanisms.

Task swaps take place automatically every 1mS. This is fast enough for most applications. Events that need handling faster than this are generally taken care of by interrupts.

The task-swap mechanism is a 'preemptive round robin' at the application programmer's level, though it is implemented as a cooperative system at the low level. Consequently the application programmer need not pay much attention to the task manager: it just works.

See the Venom Venom Tutorial for more details.