]> git.sur5r.net Git - openldap/blob - include/ldap_rq.h
a runqueue for periodic thread execution (for syncrepl)
[openldap] / include / ldap_rq.h
1 /* $OpenLDAP$ */
2
3 typedef struct re_s {
4         struct timeval next_sched;
5         struct timeval interval;
6         LDAP_STAILQ_ENTRY(re_s) next;
7         void *private;
8 } re_t;
9
10 typedef struct runqueue_s {
11         LDAP_STAILQ_HEAD(rl, re_s) run_list;
12 } runqueue_t;