\kə͡ʊˈɒpəɹətˌɪv mˈʌltɪtˌaskɪŋ], \kəʊˈɒpəɹətˌɪv mˈʌltɪtˌaskɪŋ], \k_əʊ_ˈɒ_p_ə_ɹ_ə_t_ˌɪ_v m_ˈʌ_l_t_ɪ_t_ˌa_s_k_ɪ_ŋ]\
Definitions of COOPERATIVE MULTITASKING
Sort: Oldest first
A form of multitasking where itis the responsibility of the currently running task to give upthe processor to allow other tasks to run. This contrastswith pre-emptive multitasking where the task schedulerperiodically suspends the running task and restarts another.Cooperative multitasking requires the programmer to placecalls at suitable points in his code to allow his task to bedescheduled which is not always easy if there is no obvioustop-level main loop or some routines run for a long time.If a task does not allow itself to be descheduled all othertasks on the system will appear to "freeze" and will notrespond to user action.The advantage of cooperative multitasking is that theprogrammer knows where the program will be descheduled and canmake sure that this will not cause unwanted interaction withother processes. Under pre-emptive multitasking, thescheduler must ensure that sufficient state for each processis saved and restored that they will not interfere. Thuscooperative multitasking can have lower overheads thanpre-emptive multitasking because of the greater control itoffers over when a task may be descheduled.Cooperative multitasking is used in RISC OS, MicrosoftWindows and Macintosh System 7.
By Denis Howe
Word of the day
Mrs Caroline Lee Hentz (Whiting)
- An American writer of popular romances; born at Lancaster, Mass., 1800; died Marianna, Fla., Feb. 11, 1856. Among her works may be named: "Aunt Patty's Scrap-Bag"(1846); "The Mob Cap"(1848); Planter's Northern Bride"(1854); etc.