LLVM OpenMP 20.0.0git
Functions | Variables
taskdep_if0.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <omp.h>
#include "omp_my_sleep.h"

Go to the source code of this file.

Functions

void task1 ()
 
void task2 ()
 
int main (int argc, char **argv)
 

Variables

int a = 0
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 19 of file taskdep_if0.c.

References a, task1(), and task2().

◆ task1()

void task1 ( )

Definition at line 10 of file taskdep_if0.c.

References a, and my_sleep().

Referenced by main().

◆ task2()

void task2 ( )

Definition at line 15 of file taskdep_if0.c.

References a.

Referenced by main().

Variable Documentation

◆ a

int a = 0

Definition at line 8 of file taskdep_if0.c.

Referenced by main(), task1(), and task2().