LLVM OpenMP 22.0.0git
omp_task_priority2.c File Reference
#include <stdio.h>
#include <omp.h>
#include "omp_my_sleep.h"

Go to the source code of this file.

Macros

#define delay(n)

Functions

int main (void)

Macro Definition Documentation

◆ delay

#define delay ( n)
Value:
my_sleep(((double)n)/1000.0)
static void my_sleep(double sleeptime)
Utility function to have a sleep function with better resolution and which only stops one thread.

Definition at line 11 of file omp_task_priority2.c.

Referenced by main().

Function Documentation

◆ main()

int main ( void )

Definition at line 13 of file omp_task_priority2.c.

References delay, and val.