LLVM OpenMP
omp_flush_acquire_release.c File Reference
#include <stdio.h>
#include <omp.h>

Go to the source code of this file.

Typedefs

typedef void ident_t

Functions

void __kmpc_flush_explicit (ident_t *, int order, int scope)
int test_memorder (int write_order, int read_order)
int main ()

Typedef Documentation

◆ ident_t

typedef void ident_t

Definition at line 10 of file omp_flush_acquire_release.c.

Function Documentation

◆ __kmpc_flush_explicit()

void __kmpc_flush_explicit ( ident_t * ,
int order,
int scope )
extern

References scope.

Referenced by test_memorder().

◆ main()

int main ( void )

Definition at line 39 of file omp_flush_acquire_release.c.

References i, j, and test_memorder().

◆ test_memorder()

int test_memorder ( int write_order,
int read_order )

Definition at line 13 of file omp_flush_acquire_release.c.

References __kmpc_flush_explicit(), and x.

Referenced by main().