14 #define Queue_WAIT_FOREVER 0xFFFFFFFFU
32 kstat_t
create(
const name_t *name,
void *buf,
size_t size,
48 kstat_t
send(
void *msg,
size_t size);
57 kstat_t
receive(
void *msg,
size_t *size, uint32_t millisec);
79 kbuf_queue_t *
self(void);
85 kbuf_queue_t _buf_queue_def;
kstat_t destory(void)
This function will delete a queue
kstat_t flush(void)
This function will reset queue
kstat_t info_get(kbuf_queue_info_t *info)
This function will get information of a queue
kstat_t send(void *msg, size_t size)
This function will send a msg at the end of queue
kstat_t create(const name_t *name, void *buf, size_t size, size_t max_msg)
This function will create a buf-queue
kstat_t receive(void *msg, size_t *size, uint32_t millisec)
This function will receive msg form aqueue