mirror of
https://github.com/armink/EasyLogger.git
synced 2025-01-19 07:42:52 +08:00
Merge pull request #49 from z0306c/async_output_bugfix
修复异步模式下概率性导致输出日志不完整的问题
This commit is contained in:
commit
4ba5a626fc
@ -283,8 +283,6 @@ static void *async_output(void *arg) {
|
||||
size_t get_log_size = 0;
|
||||
static char poll_get_buf[ELOG_ASYNC_POLL_GET_LOG_BUF_SIZE];
|
||||
|
||||
ELOG_ASSERT(init_ok);
|
||||
|
||||
while(true) {
|
||||
/* waiting log */
|
||||
sem_wait(&output_notice);
|
||||
|
Loading…
x
Reference in New Issue
Block a user