Header refactoring: unify and de-catchall mutex module
This commit is contained in:
committed by
David Goldblatt
parent
9f822a1fd7
commit
18ecbfa89e
@@ -10,11 +10,8 @@ struct tsd_init_block_s {
|
||||
void *data;
|
||||
};
|
||||
|
||||
/* Defined in tsd.c, to allow the mutex headers to have tsd dependencies. */
|
||||
typedef struct tsd_init_head_s tsd_init_head_t;
|
||||
struct tsd_init_head_s {
|
||||
ql_head(tsd_init_block_t) blocks;
|
||||
malloc_mutex_t lock;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
bool initialized;
|
||||
|
Reference in New Issue
Block a user