multitasking
mul·ti·task·ing
M0480350 (mŭl′tē-tăs′kĭng, -tī-)multitasking
(ˈmʌltɪˌtɑːskɪŋ)mul•ti•task•ing
(ˌmʌl tiˈtæs kɪŋ, -ˈtɑ skɪŋ, ˌmʌl taɪ-)n. Computers.
单词 | multitasking |
释义 | multitaskingmul·ti·task·ingM0480350 (mŭl′tē-tăs′kĭng, -tī-)multitasking(ˈmʌltɪˌtɑːskɪŋ)mul•ti•task•ing(ˌmʌl tiˈtæs kɪŋ, -ˈtɑ skɪŋ, ˌmʌl taɪ-)n. Computers. multitaskingmultitasking[¦məl·tē′task·iŋ]multitasking(computer, parallel)Under "cooperative multitasking" the running task decideswhen to give up the CPU and under "pre-emptive multitasking"(probably more common) a system process called the"scheduler" suspends the currently running task after it hasrun for a fixed period known as a "time-slice". In bothcases the scheduler is responsible for selecting the next taskto run and (re)starting it. The running task may relinquish control voluntarily even in apre-emptive system if it is waiting for some external event.In either system a task may be suspended prematurely if ahardware interrupt occurs, especially if a higher prioritytask was waiting for this event and has therefore becomerunnable. The scheduling algorithm used by the scheduler determineswhich task will run next. Some common examples areround-robin scheduling, priority scheduling, shortest job first and guaranteed scheduling. Multitasking introduces overheads because the processorspends some time in choosing the next job to run and in savingand restoring tasks' state, but it reduces the worst-case timefrom job submission to completion compared with a simplebatch system where each job must finish before the next onestarts. Multitasking also means that while one task iswaiting for some external event, the CPU to do useful workon other tasks. A multitasking operating system should provide some degree ofprotection of one task from another to prevent tasks frominteracting in unexpected ways such as accidentally modifyingthe contents of each other's memory areas. The jobs in a multitasking system may belong to one or manyusers. This is distinct from parallel processing where oneuser runs several tasks on several processors. Time-sharingis almost synonymous but implies that there is more than oneuser. Multithreading is a kind of multitasking with lowoverheads and no protection of tasks from each other, allthreads share the same memory. multitaskingThe running of two or more programs in one computer at the same time. The number of programs that can be effectively multitasked depends on the sophistication of the operating system, the speed of the CPU and the speeds and capacities of memory (RAM) and storage. See preemptive multitasking.Input/Output vs. Processing Programs can run simultaneously in the computer because of the difference between I/O and processing speed. While one program is waiting for input, instructions in another can be executed. During the milliseconds one program waits for data to be read from storage, millions of instructions in another program can be executed. Thousands of instructions can be executed in one program between each keystroke in another program. Channels and Multicore In mainframe architectures, multiple I/O channels allow for simultaneous I/O operations to take place. Multiple streams of data, sometimes hundreds, are being read and written at the exact same time. In a multicore CPU, one program can be running in one core while another is multitasked in another core, and so on (see multicore). Multitasking May Be Just Task Switching Very often, people think multitasking is occurring when what is really taking place is "task switching." Multitasking implies simultaneous operation; for example, while the user interacts with the program on screen, a program in the background is processing data. However, when several programs reside in memory (RAM) and do nothing but wait to be "front and center" again, the user is switching between programs (between apps, between tasks). See task switching. A Note on Ancient Terminology In the 1960s, the days of only mainframes, multitasking was called "multiprogramming," and multitasking meant "multithreading." See multithreading. multitaskingmultitaskingInformatics The ability of an operating system to simultaneously run multiple programs–eg, graphics, spreadsheets, word processing or formats of software–eg, coding, compiling, testingMultitasking |
随便看 |
|
英语词典包含2567994条英英释义在线翻译词条,基本涵盖了全部常用单词的英英翻译及用法,是英语学习的有利工具。