#define QUEUE_PUSH (   queue,
  data 
)
Value:
do {\
if (queue == NULL) { \
vortex_log (VORTEX_LEVEL_CRITICAL, "trying to push data in a null reference queue at: %s:%d", __AXL_FILE__, __AXL_LINE__); \
} else if (data == NULL) {\
vortex_log (VORTEX_LEVEL_CRITICAL, "trying to push null data in a queue at: %s:%d", __AXL_FILE__, __AXL_LINE__); \
} else { \
}\
}while(0)
axl_bool vortex_async_queue_push(VortexAsyncQueue *queue, axlPointer data)
Allows to push data into the queue.
Definition: vortex_thread.c:1065

Helper macro which allows to push data into a particular queue, checking some conditions, which are logged at the particular position if they fail.

Parameters
queueThe queue to be used to push the new data. This reference can't be null.
dataThe data to be pushed. This data can't be null.

Referenced by vortex_channel_queue_reply(), and vortex_listener_unlock().