add macros: fc_queue_notify and fc_queue_notify_all
parent
7fbdb0cece
commit
af68bf5d6a
|
|
@ -61,6 +61,11 @@ static inline void fc_queue_terminate_all(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define fc_queue_notify(queue) fc_queue_terminate(queue)
|
||||||
|
|
||||||
|
#define fc_queue_notify_all(queue, count) \
|
||||||
|
fc_queue_terminate_all(queue, count)
|
||||||
|
|
||||||
//notify by the caller
|
//notify by the caller
|
||||||
void fc_queue_push_ex(struct fc_queue *queue, void *data, bool *notify);
|
void fc_queue_push_ex(struct fc_queue *queue, void *data, bool *notify);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue