1QBLOOP.H(3)                libqb Programmer's Manual               QBLOOP.H(3)
2
3
4

NAME

6       qbloop.h
7

SYNOPSIS

9       #include <qb/qbloop.h>
10

DESCRIPTION

12       Main loop manages timers, jobs and polling sockets.
13
14       Only  a weaker sense of priorities is implemented, alluding to distinct
15       set of pros and cons compared to the stronger, strict approach to  them
16       as  widely  applied  in  this problem space (since the latter gives the
17       application more control as the effect  of  the  former  can  still  be
18       achieved  with  some  reductions, whereas it is not straightforward the
19       other way around; cf. static  priority  task  scheduling  vs.  relative
20       fine-tuning within a single priority domain with nice(2)):
21
22       implicit mitigation for deadlock-prone priority arrangements
23
24       less  predictable (proportional probability based, we can talk about an
25       advisory effect of the priorities) responses  to  the  arrival  of  the
26       high-ranked  events  (i.e. in the process of the picking the next event
27       to handle from the priority queue when at least two  different  priori‐
28       ties are eligible at the moment)
29
30       One  practical  application  for this module of libqb is in combination
31       with IPC servers based on qbipcs.h published one (the qb_ipcs_poll_han‐
32       dlers  structure  maps  fittingly  to  the  control functions published
33       here).
34

SEE ALSO

36       qb_loop_job_del(3), qb_loop_run(3), qb_loop_create(3), qb_loop_stop(3),
37       qb_loop_poll_low_fds_event_set(3), qb_loop_signal_del(3),
38       qb_loop_signal_add(3), qb_loop_job_add(3), qb_loop_poll_del(3),
39       qb_loop_destroy(3), qb_loop_timer_expire_time_remaining(3),
40       qb_loop_poll_mod(3), qb_loop_signal_mod(3), qb_loop_timer_del(3),
41       qb_loop_timer_add(3), qb_loop_timer_is_running(3),
42       qb_loop_timer_expire_time_get(3), qb_loop_poll_add(3)
43
45       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
46
47
48
49LIBQB                             2020-07-30                       QBLOOP.H(3)
Impressum