Skip to content

Commit

Permalink
test: main - init async workers
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 25, 2023
1 parent de51125 commit 291385c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <baresip.h>
#include "test.h"

enum { ASYNC_WORKERS = 4 };

typedef int (test_exec_h)(void);

Expand Down Expand Up @@ -190,6 +191,7 @@ int main(int argc, char *argv[])
return err;

log_enable_info(false);
re_thread_async_init(ASYNC_WORKERS);

#ifdef HAVE_GETOPT
for (;;) {
Expand Down

0 comments on commit 291385c

Please sign in to comment.