tag & tag_pool: migrate from pthread to glib threads
This commit is contained in:
@@ -21,12 +21,16 @@
|
||||
|
||||
#include "tag.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <glib.h>
|
||||
|
||||
extern pthread_mutex_t tag_pool_lock;
|
||||
extern GMutex *tag_pool_lock;
|
||||
|
||||
struct tag_item;
|
||||
|
||||
void tag_pool_init(void);
|
||||
|
||||
void tag_pool_deinit(void);
|
||||
|
||||
struct tag_item *tag_pool_get_item(enum tag_type type,
|
||||
const char *value, int length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user