Cooperative multitasking



parallel, operating system
A form of multitasking where it is the responsibility of the currently running task to give up the processor to allow other tasks to run. This contrasts with pre-emptive multitasking where the task scheduler periodically suspends the running task and restarts another.
Cooperative multitasking requires the programmer to place calls at suitable points in his code to allow his task to be descheduled which is not always easy if there is no obvious top-level main loop or some routines run for a long time. If a task does not allow itself to be descheduled all other tasks on the system will appear to “freeze” and will not respond to user action.
The advantage of cooperative multitasking is that the programmer knows where the program will be descheduled and can make sure that this will not cause unwanted interaction with other processes. Under pre-emptive multitasking, the scheduler must ensure that sufficient state for each process is saved and restored that they will not interfere. Thus cooperative multitasking can have lower overheads than pre-emptive multitasking because of the greater control it offers over when a task may be descheduled.
Cooperative multitasking is used in RISC OS, Microsoft Windows and Macintosh System 7.
(1995-03-20)

Tagged:

Read Also:

  • Cooperativeness

    [koh-op-er-uh-tiv, -op-ruh-tiv, -op-uh-rey-tiv] /koʊˈɒp ər ə tɪv, -ˈɒp rə tɪv, -ˈɒp əˌreɪ tɪv/ adjective 1. working or acting together willingly for a common purpose or benefit. 2. demonstrating a willingness to : The librarian was cooperative in helping us find the book. 3. pertaining to economic : a cooperative business. 4. involving or denoting an […]

  • Cooperative party

    noun 1. (in Great Britain) a political party supporting the cooperative movement and linked with the Labour Party: founded in 1917



  • Cooperative society

    noun 1. a commercial enterprise owned and managed by and for the benefit of customers or workers Often shortened to coop, co-op

  • Cooperative-store

    noun 1. a retail store owned and managed by consumer-customers who supply the capital and share in the profits by patronage dividends. 2. a store operated by a farmers’ cooperative organization or by a cooperative chain.



Disclaimer: Cooperative multitasking definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.