and for the interesting part: multiple poller threads

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 14 years ago
parent c44673113d
commit de7ef884fa

@ -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