单词 | multithreading | |||
释义 | multithreadingmultithreading(ˌmʌltɪˈθrɛdɪŋ)multithreadingmultithreading[¦məl·tə′thred·iŋ]multithreading(parallel)Multithreading differs from multitasking in that threadsshare more of their environment with each other than do tasksunder multitasking. Threads may be distinguished only by thevalue of their program counters and stack pointers whilesharing a single address space and set of global variables. There is thus very little protection of onethread from another, in contrast to multitasking. Multithreading can thus be used for very fine-grainmultitasking, at the level of a few instructions, and so canhide latency by keeping the processor busy after one threadissues a long-latency instruction on which subsequentinstructions in that thread depend. A light-weight process is somewhere between a thread and afull process. TL0 is an example of a threaded machine language.Dataflow computation (E.g. Id and SISAL) is an extremeform of multithreading. multithreadingA feature within a CPU that allows two or more instruction streams (threads) to execute concurrently. Each stream is a "subprocess" that is managed by the CPU and operating system. Today's CPUs support a large number of threads. For example, IBM's POWER8 CPU comes with up to 12 cores, and each core handles eight threads for a total of 96 threads.Operating systems are written to use multithreading wherever possible; however, applications can also be written to take advantage of this parallel processing. If the application is very complex, the effort can be formidable even for experienced programmers. See SMP, re-entrant code, multicore, multiprocessing and hyperthreading.
|
|||
随便看 |
|
英语词典包含2567994条英英释义在线翻译词条,基本涵盖了全部常用单词的英英翻译及用法,是英语学习的有利工具。