16 lines
271 B
C
16 lines
271 B
C
|
|
#ifndef TINY_TLS_H
|
||
|
|
#define TINY_TLS_H
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
#include "hakmem_tiny_superslab.h"
|
||
|
|
|
||
|
|
typedef struct TinyTLSSlab {
|
||
|
|
SuperSlab* ss;
|
||
|
|
TinySlabMeta* meta;
|
||
|
|
uint8_t* slab_base;
|
||
|
|
uint8_t slab_idx;
|
||
|
|
uint8_t _pad[7];
|
||
|
|
} TinyTLSSlab;
|
||
|
|
|
||
|
|
#endif // TINY_TLS_H
|