The library routines are external functions with “C” linkage.
Prototypes for the C/C++ runtime library routines described in this chapter shall be provided in a header file named omp.h. This file also defines the following:
- The type omp_lock_t;
- The type omp_nest_lock_t;
- The type omp_sync_hint_t;
- The type omp_lock_hint_t (deprecated);
- The type omp_sched_t;
- The type omp_proc_bind_t;
- The type omp_control_tool_t;
- The type omp_control_tool_result_t;
- The type omp_depend_t;
- The type omp_memspace_handle_t, which must be an implementation-defined enum type with an enumerator for at least each predefined memory space in Table 2.8 on page 427;
- The type omp_allocator_handle_t, which must be an implementation-defined enum type with at least the omp_null_allocator enumerator with the value zero and an enumerator for each predefined memory allocator in Table 2.10 on page 434;
- The type omp_uintptr_t, which is an unsigned integer type capable of holding a pointer on any device;
- The type omp_pause_resource_t; and
- The type omp_event_handle_t, which must be an implementation-defined enum type.