ARGOBOTS  1.1
Functions
thread_attr.c File Reference
#include "abti.h"
Include dependency graph for thread_attr.c:

Go to the source code of this file.

Functions

static void thread_attr_set_stack (ABTI_global *p_global, ABTI_thread_attr *p_attr, void *stackaddr, size_t stacksize)
 
int ABT_thread_attr_create (ABT_thread_attr *newattr)
 Create a new ULT attribute. More...
 
int ABT_thread_attr_free (ABT_thread_attr *attr)
 Free a ULT attribute. More...
 
int ABT_thread_attr_set_stack (ABT_thread_attr attr, void *stackaddr, size_t stacksize)
 Set stack attributes in a ULT attribute. More...
 
int ABT_thread_attr_get_stack (ABT_thread_attr attr, void **stackaddr, size_t *stacksize)
 Get stack attributes from a ULT attribute. More...
 
int ABT_thread_attr_set_stacksize (ABT_thread_attr attr, size_t stacksize)
 Set stack size in a ULT attribute. More...
 
int ABT_thread_attr_get_stacksize (ABT_thread_attr attr, size_t *stacksize)
 Get the stack size from a ULT attribute. More...
 
int ABT_thread_attr_set_callback (ABT_thread_attr attr, void(*cb_func)(ABT_thread thread, void *cb_arg), void *cb_arg)
 Set a callback function and its argument in a ULT attribute. More...
 
int ABT_thread_attr_set_migratable (ABT_thread_attr attr, ABT_bool is_migratable)
 Set the ULT's migratability in a ULT attribute. More...
 
void ABTI_thread_attr_print (ABTI_thread_attr *p_attr, FILE *p_os, int indent)
 
ABTU_ret_err int ABTI_thread_attr_dup (const ABTI_thread_attr *p_attr, ABTI_thread_attr **pp_dup_attr)
 

Function Documentation

◆ ABTI_thread_attr_dup()

ABTU_ret_err int ABTI_thread_attr_dup ( const ABTI_thread_attr p_attr,
ABTI_thread_attr **  pp_dup_attr 
)

Definition at line 413 of file thread_attr.c.

◆ ABTI_thread_attr_print()

void ABTI_thread_attr_print ( ABTI_thread_attr p_attr,
FILE *  p_os,
int  indent 
)

Definition at line 369 of file thread_attr.c.

Referenced by ABT_info_print_thread_attr().

◆ thread_attr_set_stack()

static void thread_attr_set_stack ( ABTI_global p_global,
ABTI_thread_attr p_attr,
void *  stackaddr,
size_t  stacksize 
)
static

Definition at line 429 of file thread_attr.c.

Referenced by ABT_thread_attr_set_stack().