Skip to content

Commit

Permalink
add async debug init
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 28, 2023
1 parent f6da9ff commit 617a77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,10 @@ int re_thread_async_init(uint16_t workers)
return EINVAL;
}

struct btrace bt;
btrace(&bt);
DEBUG_WARNING("ASYNC_INIT %H\n", btrace_println, &bt);

if (re->async)
return EALREADY;

Expand Down

0 comments on commit 617a77f

Please sign in to comment.