Task (computing): Difference between revisions

Content deleted Content added
Terminology: Java executors
m Disambiguated: multitaskingComputer multitasking
Line 6:
 
==Terminology==
In the sense of "unit of execution", in some [[operating system]]s, a task is synonymous with a [[process (computing)|process]]{{Citation needed|reason=Which operating systems?|date=November 2016}}, and in others with a [[thread (computing)|thread]]{{Citation needed|reason=Which operating systems?|date=November 2016}}. In non-interactive execution ([[batch processing]]), a task is a unit of execution within a [[job (computing)|job]],<ref>{{cite web|url=http://whatis.techtarget.com/definition/task|title=What is task? - Definition from WhatIs.com|work=WhatIs.com|accessdate=June 11, 2015}}</ref><ref>{{cite web|url=http://www.liutilities.com/articles/what-are-computer-processes/#.VXn8h0b7LDc|title=What are computer processes?|work=liutilities.com|accessdate=June 11, 2015}}</ref> with the task itself typically a process. The term "[[Computer multitasking|multitasking]]" primarily refers to the processing sense – multiple tasks ''executing'' at the same time – but has nuances of the work sense of multiple tasks being ''performed'' at the same time.
 
In the sense of "unit of work", in a job (meaning "one-off piece of work") a task can correspond to a single step (the step itself, not the execution thereof), while in [[batch processing]] individual tasks can correspond to a single step of processing a single item in a batch, or to a single step of processing all items in the batch. In online systems, tasks most commonly correspond to a single ''request'' (in [[request–response]] architectures) or a ''query'' (in [[information retrieval]]), either a single stage of handling, or the whole system-wide handling.