-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
static StsHeader* create();
static StsHeader* create() {
StsHeader *handle = malloc(sizeof(*handle));
handle->head = NULL;
handle->tail = NULL;
pthread_mutex_t *mutex = malloc(sizeof(*mutex));
handle->mutex = mutex;
pthread_mutex_init(handle->mutex, NULL);
return handle;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels