blob: daa231b39126fe15c90c2211725037d2162b9ef9 [file] [log] [blame]
#include <pthread.h>
#include <stdint.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct cond_node
{
pthread_cond_t cond;
int32_t token;
int cond_index;
struct cond_node* next;
}COND_NODE;
COND_NODE* createCondLinkHead();
COND_NODE* initConditionLink();
COND_NODE * addCondLinkNode(COND_NODE *head,int32_t token,int index,pthread_cond_t cond);
COND_NODE * DeleteLinkNode(int32_t token,COND_NODE *head);
COND_NODE * searchRequestinCondLink(int32_t token,COND_NODE *head);
#ifdef __cplusplus
}
#endif