top left image
top centre image
<<Prev
Top
Next>>
 
  What is OpenMP
 
  Why OpenMP
 
  OpenMP &
    Multithreaded
    Programming
 
  Multithreaded
    Programming
    Models
 
  OpenMP Specs
 
  Compiler & 
    OpenMP
 
  Examples, DIY
 
  Remarks
 
  References
 
 

Thread Programming Models

The execution of a multithreaded program follows a "fork-join" fashion. Threads are created on demand, work on their own tasks and then join at the end.

A process starts as a single thread. After it forks off indivdual threads, it becomes the main thread. The main thread must stay alive during the execution.

Multithreaded programming naturally requires the thinking of programming models, i.e. one must consider issues like which thread does what at the same, etc.

 
Bottom of Sidebar