Add try_pop method for haggis_mq

This commit is contained in:
Nathan Fisher 2023-11-20 19:09:05 -05:00
parent a7a0f6542d
commit ddddeebc59

View file

@ -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