LLVM OpenMP 19.0.0git
Classes | Macros | Typedefs | Functions | Variables
omp_foreign_thread_team_reuse.c File Reference
#include <stdio.h>
#include "omp_testsuite.h"

Go to the source code of this file.

Classes

struct  thread_arg_t
 

Macros

#define NUM_THREADS   10
 

Typedefs

typedef struct thread_arg_t thread_arg_t
 

Functions

voidthread_function (void *arg)
 
int test_omp_team_reuse ()
 
int main ()
 

Variables

int a = 0
 
int level
 

Macro Definition Documentation

◆ NUM_THREADS

#define NUM_THREADS   10

Definition at line 5 of file omp_foreign_thread_team_reuse.c.

Typedef Documentation

◆ thread_arg_t

typedef struct thread_arg_t thread_arg_t

Function Documentation

◆ main()

int main ( void  )

Definition at line 70 of file omp_foreign_thread_team_reuse.c.

References a, i, REPETITIONS, and test_omp_team_reuse().

◆ test_omp_team_reuse()

int test_omp_team_reuse ( )

Definition at line 43 of file omp_foreign_thread_team_reuse.c.

References a, i, thread_arg_t::iterations, level, NUM_THREADS, and thread_function().

Referenced by main().

◆ thread_function()

void * thread_function ( void arg)

Definition at line 24 of file omp_foreign_thread_team_reuse.c.

References a, i, thread_arg_t::iterations, and level.

Referenced by test_omp_team_reuse().

Variable Documentation

◆ a

int a = 0

Definition at line 17 of file omp_foreign_thread_team_reuse.c.

Referenced by main(), test_omp_team_reuse(), and thread_function().

◆ level

int level