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;
}