James Kuszmaul | 82f6c04 | 2021-01-17 11:30:16 -0800 | [diff] [blame^] | 1 | /** |
2 | * @file re_mqueue.h Thread Safe Message Queue | ||||
3 | * | ||||
4 | * Copyright (C) 2010 Creytiv.com | ||||
5 | */ | ||||
6 | |||||
7 | struct mqueue; | ||||
8 | |||||
9 | typedef void (mqueue_h)(int id, void *data, void *arg); | ||||
10 | |||||
11 | int mqueue_alloc(struct mqueue **mqp, mqueue_h *h, void *arg); | ||||
12 | int mqueue_push(struct mqueue *mq, int id, void *data); |