#include <stdio.h>
#include <omp.h>
#include "omp_my_sleep.h"
Go to the source code of this file.
|
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 () |
◆ PTASK_FLAG_DETACHABLE
#define PTASK_FLAG_DETACHABLE 0x40 |
◆ id
◆ ident_t
typedef struct ident ident_t |
◆ kmp_event_type_t
◆ kmp_int64
◆ kmp_task_t
◆ kmp_uint64
◆ task_entry_t
◆ kmp_event_type_t
◆ __kmpc_global_thread_num()
int __kmpc_global_thread_num |
( |
void * | id_ref | ) |
|
|
extern |
◆ __kmpc_omp_task()
◆ __kmpc_omp_task_alloc()
◆ __kmpc_task_allow_completion_event()
omp_event_handle_t __kmpc_task_allow_completion_event |
( |
ident_t * | loc_ref, |
|
|
int | gtid, |
|
|
ptask | task ) |
|
extern |
◆ 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().
◆ task_entry()
◆ checker