JLChen
2020-12-10 a8c5f79b0d93adfa7f23601dd0fee30edc14f0d4
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * @file re_mqueue.h Thread Safe Message Queue
 *
 * Copyright (C) 2010 Creytiv.com
 */
 
struct mqueue;
 
typedef void (mqueue_h)(int id, void *data, void *arg);
 
int mqueue_alloc(struct mqueue **mqp, mqueue_h *h, void *arg);
int mqueue_push(struct mqueue *mq, int id, void *data);