Skip to content

Commit

Permalink
output_thread: initialize coroutine threaded with the API (fluent#3055)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  • Loading branch information
edsiper authored and DrewZhang13 committed May 3, 2021
1 parent c2a5d19 commit 0ce8465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flb_output_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ static void output_thread(void *data)
ins = th_ins->ins;
thread_id = th_ins->th->id;

flb_coro_thread_init();

/*
* Expose the event loop to the I/O interfaces: since we are in a separate
* thread, the upstream connection interfaces need access to the event
Expand Down

0 comments on commit 0ce8465

Please sign in to comment.