loop.c | loop.c | |||
---|---|---|---|---|
skipping to change at line 111 | skipping to change at line 111 | |||
qb_loop_signal_handle sh; | qb_loop_signal_handle sh; | |||
qb_util_set_log_function(libqb_log_fn); | qb_util_set_log_function(libqb_log_fn); | |||
l = qb_loop_create(); | l = qb_loop_create(); | |||
qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_3_9); | qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_3_9); | |||
qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_2_4); | qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_2_4); | |||
qb_loop_job_add(l, QB_LOOP_HIGH, NULL, job_1_2); | qb_loop_job_add(l, QB_LOOP_HIGH, NULL, job_1_2); | |||
qb_loop_job_add(l, QB_LOOP_MED, NULL, job_3_7); | qb_loop_job_add(l, QB_LOOP_MED, NULL, job_3_7); | |||
// qb_loop_timer_add(l, QB_LOOP_HIGH, 40*QB_TIME_NS_IN_MSEC, NULL, more | /* | |||
_jobs, &th); | * qb_loop_timer_add(l, QB_LOOP_HIGH, 40*QB_TIME_NS_IN_MSEC, NULL, more | |||
_jobs, &th); | ||||
*/ | ||||
qb_loop_job_add(l, QB_LOOP_MED, NULL, job_2_8); | qb_loop_job_add(l, QB_LOOP_MED, NULL, job_2_8); | |||
qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_3_6); | qb_loop_job_add(l, QB_LOOP_LOW, NULL, job_3_6); | |||
qb_loop_poll_add(l, QB_LOOP_LOW, 0, POLLIN | POLLPRI | POLLNVAL, | qb_loop_poll_add(l, QB_LOOP_LOW, 0, POLLIN | POLLPRI | POLLNVAL, | |||
NULL, read_stdin); | NULL, read_stdin); | |||
qb_loop_signal_add(l, QB_LOOP_MED, SIGINT, NULL, handle_exit_signal, &sh); | qb_loop_signal_add(l, QB_LOOP_MED, SIGINT, NULL, handle_exit_signal, &sh); | |||
qb_loop_signal_add(l, QB_LOOP_MED, SIGSEGV, NULL, handle_exit_signal , &sh); | qb_loop_signal_add(l, QB_LOOP_MED, SIGSEGV, NULL, handle_exit_signal , &sh); | |||
qb_loop_signal_add(l, QB_LOOP_MED, SIGHUP, NULL, handle_reconf_signa l, &sh); | qb_loop_signal_add(l, QB_LOOP_MED, SIGHUP, NULL, handle_reconf_signa l, &sh); | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 4 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |