18#ifndef __VSF_EDA_SLIST_QUEUE_H__
19#define __VSF_EDA_SLIST_QUEUE_H__
24#if VSF_USE_KERNEL == ENABLED
26#if defined(__VSF_EDA_SLIST_QUEUE_CLASS_IMPLEMENT)
27# undef __VSF_EDA_SLIST_QUEUE_CLASS_IMPLEMENT
28# define __VSF_CLASS_IMPLEMENT__
29#elif defined(__VSF_EDA_SLIST_QUEUE_CLASS_INHERIT__)
30# undef __VSF_EDA_SLIST_QUEUE_CLASS_INHERIT__
31# define __VSF_CLASS_INHERIT__
42#if VSF_KERNEL_CFG_SUPPORT_SLIST_QUEUE == ENABLED
44# define vsf_msg_queue_t vsf_eda_slist_queue_t
45# define vsf_eda_msg_queue_init(__queue, __max) \
46 vsf_eda_slist_queue_init((__queue), (__max))
47# define vsf_eda_msg_queue_send(__queue, __node, __timeout) \
48 vsf_eda_queue_send((vsf_eda_queue_t *)(__queue), (__node), (__timeout))
49# define vsf_eda_msg_queue_send_get_reason(__queue, __evt, __node) \
50 vsf_eda_queue_send_get_reason((vsf_eda_queue_t *)(__queue), (__evt), (__node))
51# define vsf_eda_msg_queue_recv(__queue, __node, __timeout) \
52 vsf_eda_queue_recv((vsf_eda_queue_t *)(__queue), (void **)(__node), (__timeout))
53# define vsf_eda_msg_queue_recv_get_reason(__queue, __evt, __node) \
54 vsf_eda_queue_recv_get_reason((vsf_eda_queue_t *)(__queue), (__evt), (void **)(__node))
61#if VSF_KERNEL_CFG_SUPPORT_SLIST_QUEUE == ENABLED
77#if VSF_KERNEL_CFG_SUPPORT_SLIST_QUEUE == ENABLED
vsf_err_t
Definition __type.h:42
Definition vsf_eda_slist_queue.h:63
#define max(x, y)
Definition minmax.h:12
#define vsf_class(__name)
Definition ooc_class.h:48
unsigned short uint_fast16_t
Definition stdint.h:25
Definition vsf_list.h:896
vsf_err_t vsf_eda_slist_queue_init(vsf_eda_slist_queue_t *this_ptr, uint_fast16_t max)
Definition vsf_eda_slist_queue.c:67