sig_atomic.h
include/sig/base/sig_atomic.h
sig_refcount_h
typedef struct {
atomic_uint_least16_t count;
} sig_refcount_h;
sig_refcount_init
void sig_refcount_init(sig_refcount_h * h, uint16_t initial)
| Parameter | Type |
|---|
h | sig_refcount_h * |
initial | uint16_t |
sig_refcount_get
uint16_t sig_refcount_get(const sig_refcount_h * h)
| Parameter | Type |
|---|
h | const sig_refcount_h * |
sig_refcount_add
uint16_t sig_refcount_add(sig_refcount_h * h)
| Parameter | Type |
|---|
h | sig_refcount_h * |
sig_refcount_del
uint16_t sig_refcount_del(sig_refcount_h * h)
| Parameter | Type |
|---|
h | sig_refcount_h * |