Task: Difference between revisions

From Rosetta Code
Content added Content deleted
(Task added)
 
m (Syntax)
Line 1: Line 1:
[[Category:Encyclopedia]]
[[Category:Encyclopedia]]
'''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:
'''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 of OS, 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 embedded systems.

Revision as of 08:36, 7 June 2008

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.