Task: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Syntax)
No edit summary
 
Line 3: Line 3:
* mapping to the OS scheduling items, like a process or more often a thread;
* mapping to the OS scheduling items, like a process or more often a thread;
* using own scheduler within single OS task;
* using own scheduler within single OS task;
* own scheduler without OS support, bare board, common for real-time embedded systems.
* own scheduler without OS support, bare board, common for [[real-time computing|real-time]] embedded systems.

Latest revision as of 17:07, 28 April 2009

Task is a subject of scheduling, usually owning other system resources. Operating systems (OS) supporting multiple tasks are called multitasking. Modern OS may have several types of tasks: process, thread, fiber. For a language supporting concurrency there are multiple options to map language defined tasks:

  • mapping to the OS scheduling items, like a process or more often a thread;
  • using own scheduler within single OS task;
  • own scheduler without OS support, bare board, common for real-time embedded systems.