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

Go to the source code of this file.

Functions

static int sched_init (ABT_sched sched, ABT_sched_config config)
 
static void sched_run (ABT_sched sched)
 
static int sched_free (ABT_sched)
 
static void sched_sort_pools (int num_pools, ABT_pool *pools)
 
static sched_data * sched_data_get_ptr (void *data)
 
static int pool_get_access_num (ABT_pool *p_pool)
 
static int sched_cmp_pools (const void *p1, const void *p2)
 

Variables

static ABT_sched_def sched_basic_wait_def
 

Function Documentation

◆ pool_get_access_num()

static int pool_get_access_num ( ABT_pool p_pool)
static

Definition at line 170 of file basic_wait.c.

Referenced by sched_cmp_pools().

◆ sched_cmp_pools()

static int sched_cmp_pools ( const void *  p1,
const void *  p2 
)
static

Definition at line 196 of file basic_wait.c.

Referenced by sched_sort_pools().

◆ sched_data_get_ptr()

static sched_data* sched_data_get_ptr ( void *  data)
inlinestatic

Definition at line 32 of file basic_wait.c.

◆ sched_free()

static int sched_free ( ABT_sched  sched)
static

Definition at line 159 of file basic_wait.c.

◆ sched_init()

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 
)
static

Definition at line 37 of file basic_wait.c.

◆ sched_run()

static void sched_run ( ABT_sched  sched)
static

Definition at line 85 of file basic_wait.c.

◆ sched_sort_pools()

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 
)
static

Definition at line 212 of file basic_wait.c.

Variable Documentation

◆ sched_basic_wait_def

ABT_sched_def sched_basic_wait_def
static
Initial value:
= {
.init = sched_init,
.run = sched_run,
.free = sched_free,
.get_migr_pool = NULL,
}

Definition at line 13 of file basic_wait.c.

sched_run
static void sched_run(ABT_sched sched)
Definition: basic_wait.c:85
sched_init
static int sched_init(ABT_sched sched, ABT_sched_config config)
Definition: basic_wait.c:37
ABT_SCHED_TYPE_ULT
@ ABT_SCHED_TYPE_ULT
Definition: abt.h:502
sched_free
static int sched_free(ABT_sched)
Definition: basic_wait.c:159