6 #ifndef ABTI_BARRIER_H_INCLUDED
7 #define ABTI_BARRIER_H_INCLUDED
12 static inline ABTI_barrier *ABTI_barrier_get_ptr(
ABT_barrier barrier)
14 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
15 ABTI_barrier *p_barrier;
19 p_barrier = (ABTI_barrier *)barrier;
23 return (ABTI_barrier *)barrier;
27 static inline ABT_barrier ABTI_barrier_get_handle(ABTI_barrier *p_barrier)
29 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
31 if (p_barrier == NULL) {