ARGOBOTS
Functions | Variables
sched.c File Reference
#include "abti.h"
Include dependency graph for sched.c:

Go to the source code of this file.

Functions

int ABT_sched_create (ABT_sched_def *def, int num_pools, ABT_pool *pools, ABT_sched_config config, ABT_sched *newsched)
 Create a new user-defined scheduler and return its handle through newsched. More...
 
int ABT_sched_create_basic (ABT_sched_predef predef, int num_pools, ABT_pool *pools, ABT_sched_config config, ABT_sched *newsched)
 Create a predefined scheduler. More...
 
int ABT_sched_free (ABT_sched *sched)
 Release the scheduler object associated with sched handle. More...
 
int ABT_sched_get_num_pools (ABT_sched sched, int *num_pools)
 Get the number of pools associated with scheduler. More...
 
int ABT_sched_get_pools (ABT_sched sched, int max_pools, int idx, ABT_pool *pools)
 Get the pools of the scheduler sched. More...
 
int ABT_sched_finish (ABT_sched sched)
 Ask a scheduler to finish. More...
 
int ABT_sched_exit (ABT_sched sched)
 Ask a scheduler to stop as soon as possible. More...
 
int ABT_sched_has_to_stop (ABT_sched sched, ABT_bool *stop)
 Check if the scheduler needs to stop. More...
 
int ABT_sched_set_data (ABT_sched sched, void *data)
 Set the specific data of the target user-defined scheduler. More...
 
int ABT_sched_get_data (ABT_sched sched, void **data)
 Retrieve the specific data of the target user-defined scheduler. More...
 
int ABT_sched_get_size (ABT_sched sched, size_t *size)
 Get the sum of the sizes of the pool of sched. More...
 
int ABT_sched_get_total_size (ABT_sched sched, size_t *size)
 Get the sum of the sizes of the pool of sched. More...
 

Variables

static ABTD_atomic_uint64 g_sched_id = ABTD_ATOMIC_UINT64_STATIC_INITIALIZER(0)
 

Variable Documentation

ABTD_atomic_uint64 g_sched_id = ABTD_ATOMIC_UINT64_STATIC_INITIALIZER(0)
static

Definition at line 1003 of file sched.c.