Multi-tasking: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
m Jnc moved page Multitasking to Multi-tasking over redirect: Hyphenation
m +See also
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Multitasking''' [[operating system]]s are a subset of operating systems - now, by far the predominant form - which allow multiple [[program]]s to run at the same time.
'''Multi-tasking''' [[operating system]]s are a subset of operating systems - now, by far the predominant form - which allow multiple [[program]]s to run at the same time (usually as [[process]]es).


There are two principal types: '''preemptive multitasking''', in which computations can be (unkownst to them) [[interrupt]]ed in the middle of their work to allow other computations to run, and '''cooperative multitasking''', in which a running computation has to explicitly 'give up' the machine, in order for another computation to run.
There are two principal types: '''preemptive multi-tasking''', in which computations can be (unknownst to them) [[interrupt]]ed in the middle of their work to allow other computations to run; and '''cooperative multi-tasking''', in which a running computation has to explicitly 'give up' the machine, in order for another computation to run.


Note that this relinquishment may be a side effect of something the computation does, not an explicit giveaway; e.g. it may call for some [[input/output]], and while waiting for that to happen, some other computation may be run.
Note that this relinquishment may be a side effect of something the computation does, not an explicit giveaway; e.g. it may call for some [[input/output]], and while waiting for that to happen, some other computation may be run.


{{stub}}
{{semi-stub}}
 
==See also==
 
* [[Time-sharing]]
 
[[Category: OS Basics]]

Latest revision as of 15:07, 15 May 2021

Multi-tasking operating systems are a subset of operating systems - now, by far the predominant form - which allow multiple programs to run at the same time (usually as processes).

There are two principal types: preemptive multi-tasking, in which computations can be (unknownst to them) interrupted in the middle of their work to allow other computations to run; and cooperative multi-tasking, in which a running computation has to explicitly 'give up' the machine, in order for another computation to run.

Note that this relinquishment may be a side effect of something the computation does, not an explicit giveaway; e.g. it may call for some input/output, and while waiting for that to happen, some other computation may be run.

See also