Task (computing): Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
m Reverted 1 edit by Luis8a817 (talk) to last revision by Chatul. (TW)
Line 24:
The term task in OS/360 through z/OS is roughly equivalent to light-weight process; the tasks in a job step share an address space. However, in [[MVS/ESA]] through z/OS, a task or [[Service Request Block]] (SRB) may have access to other address spaces via its access list.
 
===[[[Linux kernel]][===
The term ''(task kill -l)'' 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
Line 35:
| publisher = Linus Torvalds
| date = October 3, 2016
| url = https://github.com/torvalds~/(linux)/blob~/v4.8/include free/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 kill -l, __clone2 kill -c - 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.