11#ifndef MYMPD_CACHE_RAX_H
12#define MYMPD_CACHE_RAX_H
14#include "dist/rax/rax.h"
bool cache_get_write_lock(struct t_cache *cache)
Definition cache_rax.c:70
bool cache_get_read_lock(struct t_cache *cache)
Definition cache_rax.c:54
bool cache_init(struct t_cache *cache)
Definition cache_rax.c:21
bool cache_release_lock(struct t_cache *cache)
Definition cache_rax.c:86
bool cache_free(struct t_cache *cache)
Definition cache_rax.c:38
Definition cache_rax.h:22
pthread_rwlock_t rwlock
pthreads read-write lock object
Definition cache_rax.h:25
rax * cache
pointer to the cache
Definition cache_rax.h:24
bool building
true if the mympd_worker thread is creating the cache
Definition cache_rax.h:23