启动消费者进程时,支持设置消费指定生产者的日志,支持设置将日志输出到文件或者终端

This commit is contained in:
guo_peixu
2022-06-22 17:49:58 +08:00
parent 3421f97f95
commit b94706ac06
4 changed files with 266 additions and 12 deletions

View File

@@ -25,6 +25,7 @@ void MESA_shm_recycle_ring_queue(struct MESA_shm_queue_head *ring_queue_head);
int MESA_shm_copy_buf_to_ring_queue(char *buf, int buflen, struct MESA_shm_queue_head *head, char *log_file, int log_file_len);
int MESA_shm_ring_queue_is_empty(struct MESA_shm_queue_head *head);
int MESA_shm_ring_queue_is_full(struct MESA_shm_queue_head *head);
void MESA_shm_ring_queue_set_empty(struct MESA_shm_queue_head *head);