Dynamic Load Balance 3.6.1+32-59d1
Data Structures | Functions | Variables
spd.c File Reference
#include "LB_core/spd.h"
#include "support/debug.h"
#include "support/gtree.h"
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
Include dependency graph for spd.c:

Data Structures

struct  spd_info_t
 

Functions

void spd_enter_dlb (subprocess_descriptor_t *spd)
 
void spd_register (subprocess_descriptor_t *spd)
 
void spd_unregister (const subprocess_descriptor_t *spd)
 
 __attribute__ ((destructor))
 
void spd_set_pthread (const subprocess_descriptor_t *spd, pthread_t pthread)
 
pthread_t spd_get_pthread (const subprocess_descriptor_t *spd)
 
const subprocess_descriptor_t ** spd_get_spds (void)
 

Variables

__thread subprocess_descriptor_tthread_spd = NULL
 

Function Documentation

◆ spd_enter_dlb()

void spd_enter_dlb ( subprocess_descriptor_t spd)

◆ spd_register()

void spd_register ( subprocess_descriptor_t spd)

◆ spd_unregister()

void spd_unregister ( const subprocess_descriptor_t spd)

◆ __attribute__()

__attribute__ ( (destructor)  )

◆ spd_set_pthread()

void spd_set_pthread ( const subprocess_descriptor_t spd,
pthread_t  pthread 
)

◆ spd_get_pthread()

pthread_t spd_get_pthread ( const subprocess_descriptor_t spd)

◆ spd_get_spds()

const subprocess_descriptor_t ** spd_get_spds ( void  )

Variable Documentation

◆ thread_spd

__thread subprocess_descriptor_t* thread_spd = NULL