diff --git a/include/mq.h b/include/mq.h index 13a810d..69bc10c 100644 --- a/include/mq.h +++ b/include/mq.h @@ -41,5 +41,6 @@ void haggis_msg_deinit(haggis_msg *msg); int haggis_mq_init(haggis_mq *mq); int haggis_mq_push(haggis_mq *queue, haggis_msg *msg); haggis_msg* haggis_mq_pop(haggis_mq *queue); +haggis_msg* haggis_mq_try_pop(haggis_mq *queue); #endif // !MQ_H