Go to the documentation of this file.
25 #ifndef FIRM_ADT_PDEQ_H
26 #define FIRM_ADT_PDEQ_H
47 typedef int (*
cmp_fun)(
const void *elem,
const void *key);
192 #define new_waitq() new_pdeq()
199 #define del_waitq(wq) del_pdeq(wq)
210 #define waitq_get(wq) pdeq_getl(wq)
220 #define waitq_put(wq, x) pdeq_putr((wq), (x))
229 #define waitq_empty(wq) pdeq_empty(wq)
242 #define new_stack() new_pdeq()
253 #define stack_pop(st) pdeq_getr(st)
263 #define stack_push(st, x) pdeq_putr((st), (x))
272 #define stack_empty(st) pdeq_empty(wq)