LLVM OpenMP 20.0.0git
|
Go to the source code of this file.
Classes | |
struct | ID |
struct | ident |
The ident structure that describes a source location. More... | |
struct | kmp_event_t |
struct | shar |
struct | task |
Macros | |
#define | PTASK_FLAG_DETACHABLE 0x40 |
Typedefs | |
typedef unsigned long long | kmp_uint64 |
typedef long long | kmp_int64 |
typedef struct ID | id |
typedef struct ident | ident_t |
typedef enum kmp_event_type_t | kmp_event_type_t |
typedef struct shar * | pshareds |
typedef struct task * | ptask |
typedef struct task | kmp_task_t |
typedef int(* | task_entry_t) (int, ptask) |
Enumerations | |
enum | kmp_event_type_t { KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 , KMP_EVENT_UNINITIALIZED = 0 , KMP_EVENT_ALLOW_COMPLETION = 1 } |
Functions | |
int | __kmpc_global_thread_num (void *id_ref) |
ptask | __kmpc_omp_task_alloc (id *loc, int gtid, int flags, size_t sz, size_t shar, task_entry_t rtn) |
int | __kmpc_omp_task (id *loc, int gtid, ptask task) |
omp_event_handle_t | __kmpc_task_allow_completion_event (ident_t *loc_ref, int gtid, ptask task) |
int | task_entry (int gtid, ptask task) |
int | main () |
Variables | |
int volatile | checker |
#define PTASK_FLAG_DETACHABLE 0x40 |
Definition at line 9 of file kmp_detach_tasks_t1.c.
typedef enum kmp_event_type_t kmp_event_type_t |
typedef long long kmp_int64 |
Definition at line 13 of file kmp_detach_tasks_t1.c.
typedef struct task kmp_task_t |
typedef unsigned long long kmp_uint64 |
Definition at line 12 of file kmp_detach_tasks_t1.c.
Definition at line 54 of file kmp_detach_tasks_t1.c.
enum kmp_event_type_t |
Definition at line 28 of file kmp_detach_tasks_t1.c.
ptask __kmpc_omp_task_alloc | ( | id * | loc, |
int | gtid, | ||
int | flags, | ||
size_t | sz, | ||
size_t | shar, | ||
task_entry_t | rtn | ||
) |
Referenced by main().
Referenced by main().
Definition at line 76 of file kmp_detach_tasks_t1.c.
References __kmpc_global_thread_num(), __kmpc_omp_task(), __kmpc_omp_task_alloc(), __kmpc_task_allow_completion_event(), checker, task::evt, i, j, my_sleep(), omp_get_max_threads(), omp_set_dynamic, PTASK_FLAG_DETACHABLE, task::shareds, and task_entry().
int volatile checker |
Definition at line 68 of file kmp_detach_tasks_t1.c.
Referenced by main(), and task_entry().