Functions | |
void | __kmpc_end_serialized_parallel (ident_t *loc, kmp_int32 global_tid) |
kmp_int32 | __kmpc_ok_to_fork (ident_t *loc) |
void | __kmpc_serialized_parallel (ident_t *loc, kmp_int32 global_tid) |
Functions in this group are for backwards compatibility only, and should not be used in new code.
void __kmpc_end_serialized_parallel | ( | ident_t * | loc, | |
kmp_int32 | global_tid | |||
) |
loc | source location information | |
global_tid | global thread number |
Leave a serialized parallel construct.
Definition at line 619 of file kmp_csupport.c.
References __kmp_env_consistency_check, __kmp_free, __kmp_init_parallel, __kmp_parallel_initialize(), __kmp_pop_parallel(), __kmp_threads, ident::flags, KA_TRACE, KC_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_IDENT_AUTOPAR, KMP_MB, kmp_team::t, and TCR_4.
Referenced by __kmp_join_call(), and GOMP_parallel_end().
kmp_int32 __kmpc_ok_to_fork | ( | ident_t * | loc | ) |
loc | location description |
This function need not be called. It always returns TRUE.
Definition at line 191 of file kmp_csupport.c.
References __kmp_par_range, __kmp_par_range_filename, __kmp_par_range_lb, __kmp_par_range_routine, __kmp_par_range_ub, ident::psource, and TRUE.
Referenced by GOMP_parallel_sections_start(), and GOMP_parallel_start().
void __kmpc_serialized_parallel | ( | ident_t * | loc, | |
kmp_int32 | global_tid | |||
) |
loc | source location information | |
global_tid | global thread number |
Enter a serialized parallel construct.
Definition at line 372 of file kmp_csupport.c.
References __kmp_acquire_bootstrap_lock(), __kmp_allocate, __kmp_allocate_team(), __kmp_env_consistency_check, __kmp_forkjoin_lock, __kmp_init_parallel, __kmp_nested_nth, __kmp_parallel_initialize(), __kmp_push_parallel(), __kmp_release_bootstrap_lock(), __kmp_threads, __ompt_parallel_id_new(), FALSE, ident::flags, KA_TRACE, KC_TRACE, KF_TRACE, KMP_ASSERT, KMP_DEBUG_ASSERT, KMP_IDENT_AUTOPAR, KMP_MB, kmp_nested_nthreads_t::nth, OMPT_SUPPORT, kmp_team::t, TCR_4, TRUE, and kmp_nested_nthreads_t::used.
Referenced by __kmp_fork_call(), GOMP_parallel_sections_start(), and GOMP_parallel_start().