ARGOBOTS  1.1
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...
 
ABTU_ret_err int ABTI_sched_config_read (const ABTI_sched_config *p_config, int idx, void *p_val)
 

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

◆ ABTI_sched_config_read()

ABTU_ret_err int ABTI_sched_config_read ( const ABTI_sched_config p_config,
int  idx,
void *  p_val 
)

Definition at line 259 of file config.c.

Referenced by ABT_sched_config_read(), sched_create(), and sched_init().

◆ 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.

Referenced by ABT_sched_config_create().

◆ sched_config_free()

static void sched_config_free ( ABTI_sched_config p_config)
static

Definition at line 326 of file config.c.

Referenced by ABT_sched_config_create().

◆ 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.

Referenced by ABTI_sched_config_read(), and sched_config_add().