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 <[email protected]>
  • Loading branch information
edsiper authored and DrewZhang13 committed May 3, 2021
1 parent a39a72b commit 4e24a2e
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 4e24a2e

Please sign in to comment.