Content deleted Content added
Requesting citations on which operating systems call their processes "tasks", and which instead call their threads "tasks". |
Initialized a section about the notion of "tasks" in the Linux kernel. |
||
Line 21:
In [[z/OS]] specifically, it is defined precisely as:<ref>[http://www-01.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zglossary.doc/zglossary.html Glossary of z/OS terms and abbreviations]: [http://www-01.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zglossary.doc/zglossary.html#t T]</ref>
* In a multiprogramming or multiprocessing environment, one or more sequences of instructions treated by a control program as an element of work to be accomplished by a computer.
===Linux kernel===
The term ''task'' is used in the Linux kernel (at least since v2.6.13<ref>{{cite web
| title = <code>include/linux/sched.h</code>
| website = GitHub.com
| publisher = Linus Torvalds
| date = August 29, 2005
| url = https://github.com/torvalds/linux/blob/v2.6.13/include/linux/sched.h }}</ref>, up to and including v4.8<ref>{{cite web
| title = <code>include/linux/sched.h</code>
| website = GitHub.com
| publisher = Linus Torvalds
| date = October 3, 2016
| url = https://github.com/torvalds/linux/blob/v4.8/include/linux/sched.h }}</ref>) to refer to a unit of execution, which may share various system resources with other tasks on the system. Depending on the level of sharing, the task may be regarded as a conventional [[thread (computing)|thread]] or [[process (computing)|process]]. Tasks are brought into existence using the <code>clone()</code> system call<ref>{{cite web
| title = clone, __clone2 - create a child process
| journal = Linux Programmer's Manual
| url = http://man7.org/linux/man-pages/man2/clone.2.html
| date = July 17, 2016
| access-date = November 6, 2016}}</ref>, where a user can specify the desired level of resource sharing.
==History==
|