Content deleted Content added
No edit summary |
m wording; disambiguation |
||
Line 1:
[[ja:スレッド (コンピュータプログラミング)]] [[pl:Wątek (informatyka)]] [[es:hilo(informática)]] [[de:Thread]]
Many [[programming language]]s, [[operating system]]s, and other [[software development
A common use of threads is having one thread paying attention to the [[graphical user interface]], while others do a long calculation [[Background (computer software)|in the background]].
Threads are distinguished from traditional multi-tasking [[computer process|processes]] in that processes are typically independent, carry considerable [[state information]], and interact only through system-provided [[inter-process communication]] mechanisms. Multiple threads, on the other hand, typically share the state information of a single process, share [[
Systems like [[Windows NT]] and [[OS/2]] are said to have "cheap" threads and "expensive" processes, while in systems like [[Linux]] there is not so big a
An
Use of threads in [[programming]] often causes a [[state inconsistency]]. A common [[anti-pattern]] is to set a [[global variable]], then invoke [[subprogram]]s that depend on its value. This is known as ''[[accumulate and fire]]''.
Line 20:
* [[signal]]s
The [[Java programming language]] is an example of a [[computer language]] which supports multi-threaded [[computer program|program]]s.
A relatively new [[concept]] is [[simultaneous multithreading]], that was introduced in [[Intel]]'s [[Pentium 4]] 3.06 GHz processor, with the name of [[Hyper-threading]]
Line 35:
* [http://www.jetbyte.com/portfolio-showarticle.asp?articleId=38&catId=1&subcatId=2 Business logic processing in a socket server - thread pools]
* [http://www.cs.rice.edu/CS/Systems/ScalaServer/ System support for scalable network servers]
* [http://citeseer.nj.nec.com/larus02using.html cohort scheduling]
|