OpenMP and Win32 Threads Usage Example

by Stanislav Bratanov,
Sr. Software Engineer, SSG/PDSD


The code example computes a trigonometric formula for arrays of input coefficients and parallels the computation either using OpenMP directives or creating threads manually. The performance of both approaches is measured and compared.

Target Audience
C/C++ Parallel program developers

Sample Category: Full project

Implementation Language: C

Target Hardware & Software Platforms

  • Hardware Systems: Systems running any IA-32 compatible processors
  • Operating Systems: Microsoft Windows* 2000/XP/2003
  • Compilers: Intel Proton 8.0, MS Visual Studio* 2005 beta 1 C/C++ compiler


Download the source code

Parent whitepaper: Multi-Threading for Experts: Synchronization


Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.