Thread (computing): Difference between revisions

Content deleted Content added
Fibers: re-worded to clarify that these research OpenMP implementations use fibers, but that mainstream implementations do not. Previous wording gave the impression that OpenMP itself uses fibers, which is false.
unnecessary to call out source in body #article-section-source-editor
Tags: Mobile edit Mobile app edit iOS app edit
Line 8:
The multiple threads of a given process may be executed [[concurrent computation|concurrently]] (via multithreading capabilities), sharing resources such as [[Shared memory (interprocess communication)|memory]], while different processes do not share these resources. In particular, the threads of a process share its executable code and the values of its [[Memory management#HEAP|dynamically allocated]] variables and non-[[thread-local storage|thread-local]] [[global variable]]s at any given time.
 
The implementation of threads and [[process (computing)|processes]] differs between operating systems. In ''[[Modern Operating Systems]]'', [[Andrew S. Tanenbaum|Tanenbaum]] shows that many distinct models of process organization are possible.<ref name="tanenbaum199200">{{cite book |last=Tanenbaum |first=Andrew S. |author-link=Andrew S. Tanenbaum |title=Modern Operating Systems |date=1992 |publisher=Prentice-Hall International Editions |isbn=0-13-595752-4}}</ref>{{Page needed|date=December 2022}}
 
{{TOCLIMIT|3}}
 
== History ==
{{expand section|date=February 2021}}