Dynamic Load Balance 3.6.1+32-59d1
Data Structures | Macros | Typedefs | Enumerations
small_array.h File Reference
#include "support/queues.h"
#include <sys/types.h>
#include <stdlib.h>
Include dependency graph for small_array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  small_array_int_t
 
struct  small_array_pid_t
 
struct  small_array_cpuid_t
 
struct  small_array_lewi_request_t
 

Macros

#define SMALL_ARRAY(type, var_name, size)
 

Typedefs

typedef small_array_int_t small_array_int
 

Enumerations

enum  { SMALL_ARRAY_DEFAULT_SIZE = 64 }
 

Macro Definition Documentation

◆ SMALL_ARRAY

#define SMALL_ARRAY (   type,
  var_name,
  size 
)
Value:
small_array_##type __##var_name __attribute__ ((__cleanup__(small_array_##type##_free))); \
type *var_name = small_array_##type##_init(&__##var_name, size);
__attribute__((constructor))
Definition: DLB_interface.c:47

Typedef Documentation

◆ small_array_int

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SMALL_ARRAY_DEFAULT_SIZE