6 #ifndef ABTI_THREAD_ATTR_H_INCLUDED
7 #define ABTI_THREAD_ATTR_H_INCLUDED
11 static inline ABTI_thread_attr *ABTI_thread_attr_get_ptr(
ABT_thread_attr attr)
13 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
14 ABTI_thread_attr *p_attr;
18 p_attr = (ABTI_thread_attr *)attr;
22 return (ABTI_thread_attr *)attr;
27 ABTI_thread_attr_get_handle(ABTI_thread_attr *p_attr)
29 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
42 static inline void ABTI_thread_attr_init(ABTI_thread_attr *p_attr,
43 void *p_stack,
size_t stacksize,
46 p_attr->p_stack = p_stack;
47 p_attr->stacksize = stacksize;
48 #ifndef ABT_CONFIG_DISABLE_MIGRATION
49 p_attr->migratable = migratable;
51 p_attr->p_cb_arg = NULL;