Skip to content
Myr

match+render: log number of worker threads (at info level)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent cb796a5 · Browse files · 2 files+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−0 removed

  • other:+4 added−0 removed

2 files+4 added−0 removed

modified:match.c+2 added
420 unmodified lines
421 }422423 matches->workers.count++;424 }425426 LOG_INFO("using %hu match worker threads", matches->workers.count);427 }428429 int timer_fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);430 if (timer_fd < 0) {
1234 unmodified lines
modified:render.c+2 added
1327 unmodified lines
13281329 render->workers.count++;1330 }13311332 LOG_INFO("using %hu render worker threads", render->workers.count);13331334 return render;13351336err_free_semaphores_and_lock:1337 mtx_destroy(&render->workers.lock);
190 unmodified lines