Skip to main content

Das OpenMP-Ausführungsmodell

  • Chapter
Book cover OpenMP

Part of the book series: Informatik im Fokus ((INFOFOKUS))

  • 2488 Accesses

In OpenMP basiert die parallele Ausführung von Programmcode durch Threads auf dem Fork/Join - Ausführungsmodell∈dex Ausführungsmodell. Zu Beginn ist in jedem OpenMP-Programm nur ein Thread aktiv, der sogenannte Master Thread ∈dex Thread!Master Thread. Trifft dieser während der Programmausführung auf eine #pragma omp parallel-Direktive,∈dex parallel mit der der Einstieg in einen parallelen Abschnitt ∈dex Paralleler Abschnitt markiert ist, so gabelt sich die Ausführung in mehrere Threads auf (engl. fork). Am Ende des parallelen Abschnitts wird die Ausführung wieder zusammengeführt (engl. join). Die in einem parallelen Abschnitt aktiven Threads werden zusammengefasst als Thread-Team oder team of threads bezeichnet. Abbildung zeigt das Fork-Join-Prinzip∈dex Fork-Join-Prinzip.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Hoffmann, S., Lienhart, R. (2008). Das OpenMP-Ausführungsmodell. In: OpenMP. Informatik im Fokus. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73123-8_2

Download citation

Publish with us

Policies and ethics