Skip to content

Commit

Permalink
main: use mtx_recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed May 3, 2023
1 parent afb0a6c commit 38ff36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int re_alloc(struct re **rep)
if (!re)
return ENOMEM;

err = mutex_alloc(&re->mutex);
err = mutex_alloc_tp(&re->mutex, mtx_recursive);
if (err) {
DEBUG_WARNING("thread_init: mtx_init error\n");
goto out;
Expand Down

0 comments on commit 38ff36e

Please sign in to comment.