version 1.7, 2024/08/14 16:05:42
|
version 1.8, 2025/08/21 15:43:00
|
Line 90 typedef struct _tagMPool {
|
Line 90 typedef struct _tagMPool {
|
#define mpool_lock(x) (assert((x)), pthread_mutex_lock(&(x)->pool_mtx)) |
#define mpool_lock(x) (assert((x)), pthread_mutex_lock(&(x)->pool_mtx)) |
#define mpool_unlock(x) (assert((x)), pthread_mutex_unlock(&(x)->pool_mtx)) |
#define mpool_unlock(x) (assert((x)), pthread_mutex_unlock(&(x)->pool_mtx)) |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
typedef int (*mpool_stat_cb)(unsigned int, unsigned int, unsigned int, |
typedef int (*mpool_stat_cb)(unsigned int, unsigned int, unsigned int, |
void *, unsigned int); |
void *, unsigned int); |
|
|
Line 295 void mpool_dump(mpool_t * __restrict mp, const char *f
|
Line 299 void mpool_dump(mpool_t * __restrict mp, const char *f
|
*/ |
*/ |
int mpool_dump2(mpool_t * __restrict mp, char *str, int strlen); |
int mpool_dump2(mpool_t * __restrict mp, char *str, int strlen); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
#endif |
#endif |