Skip to content

Commit

Permalink
Merge pull request #49 from z0306c/async_output_bugfix
Browse files Browse the repository at this point in the history
修复异步模式下概率性导致输出日志不完整的问题
  • Loading branch information
armink authored Jul 26, 2019
2 parents 6734e93 + bd2281e commit 4ba5a62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions easylogger/src/elog_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ba5a62

Please sign in to comment.