Home
last modified time | relevance | path

Searched refs:msgqueue (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/uvoice/common/
A Dmessage.c31 uvoice_msgqueue_t *msgqueue; in uvoice_msgqueue_create() local
45 if (!msgqueue) { in uvoice_msgqueue_create()
49 msgqueue->id = id; in uvoice_msgqueue_create()
54 snd_free(msgqueue); in uvoice_msgqueue_create()
59 if (msgqueue->id == -1) { in uvoice_msgqueue_create()
61 snd_free(msgqueue); in uvoice_msgqueue_create()
65 msgqueue->lock = os_mutex_new(); in uvoice_msgqueue_create()
68 return msgqueue; in uvoice_msgqueue_create()
74 if (!msgqueue) { in uvoice_msgqueue_release()
80 os_mutex_free(msgqueue->lock); in uvoice_msgqueue_release()
[all …]
A Devent.c81 uvoice_msgqueue_t *msgqueue; in uvoice_event_init() local
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_message.h18 int uvoice_msgqueue_recv(uvoice_msgqueue_t *msgqueue, int type, void *msg, int size, int timeout);
19 int uvoice_msgqueue_send(uvoice_msgqueue_t *msgqueue, void *msg, int size, int block);
21 int uvoice_msgqueue_release(uvoice_msgqueue_t *msgqueue);

Completed in 3 milliseconds