Skip to content

Commit

Permalink
output_thread: initialize coroutine threaded with the API (#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 committed Feb 25, 2021
1 parent b058feb commit b48e658
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 b48e658

Please sign in to comment.