and for the interesting part: multiple poller threads

git.mgm/mediaproxy-ng/2.1
Richard Fuchs 14 years ago
parent 942c96c96d
commit 0d6349f14c

@ -441,6 +441,9 @@ int main(int argc, char **argv) {
thread_create_detach(sighandler, NULL);
thread_create_detach(timer_loop, ctx.p);
thread_create_detach(poller_loop, ctx.p);
thread_create_detach(poller_loop, ctx.p);
thread_create_detach(poller_loop, ctx.p);
thread_create_detach(poller_loop, ctx.p);
while (!global_shutdown) {
usleep(100000);

Loading…
Cancel
Save