ARGOBOTS  2202510f2bd4ba732a2ba2215171c0820320f58d
Functions | Variables
config.c File Reference
#include "abti.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
Include dependency graph for config.c:

Go to the source code of this file.

Functions

static size_t sched_config_type_size (ABT_sched_config_type type)
 
static ABTU_ret_err int sched_config_add (ABTI_sched_config *p_config, int idx, ABT_sched_config_type type, const void *p_val)
 
static void sched_config_free (ABTI_sched_config *p_config)
 
int ABT_sched_config_create (ABT_sched_config *config,...)
 Create a new scheduler configuration. More...
 
int ABT_sched_config_read (ABT_sched_config config, int num_vars,...)
 Retrieve values from a scheduler configuration. More...
 
int ABT_sched_config_free (ABT_sched_config *config)
 Free a scheduler configuration. More...
 

Variables

ABT_sched_config_var ABT_sched_config_var_end
 Predefined ABT_sched_config_var to mark the last parameter. More...
 
ABT_sched_config_var ABT_sched_config_access
 Unused predefined ABT_sched_config_var. More...
 
ABT_sched_config_var ABT_sched_config_automatic
 Predefined ABT_sched_config_var to configure whether the scheduler is freed automatically or not. More...
 
ABT_sched_config_var ABT_sched_basic_freq
 Predefined ABT_sched_config_var to configure the frequency for checking events of the basic scheduler. More...
 

Function Documentation

◆ sched_config_add()

static ABTU_ret_err int sched_config_add ( ABTI_sched_config *  p_config,
int  idx,
ABT_sched_config_type  type,
const void *  p_val 
)
static

Definition at line 287 of file config.c.

◆ sched_config_free()

static void sched_config_free ( ABTI_sched_config *  p_config)
static

Definition at line 326 of file config.c.

◆ sched_config_type_size()

static size_t sched_config_type_size ( ABT_sched_config_type  type)
inlinestatic

Definition at line 341 of file config.c.