X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu-defer-static.h;h=b27cfe156b6c99d3dc8ec0ef4a14540601632a21;hp=dd875ca66b75cdac02f21a9a6eba5a4ce9693796;hb=64c4cafd597aff7423be003dcf41735904126f66;hpb=ec4e58a3aba2084440012f8ccac3a31eb6101183 diff --git a/urcu-defer-static.h b/urcu-defer-static.h index dd875ca..b27cfe1 100644 --- a/urcu-defer-static.h +++ b/urcu-defer-static.h @@ -34,6 +34,8 @@ #include #include +#include +#include /* @@ -120,6 +122,9 @@ struct defer_queue { unsigned long tail; /* next element to remove at tail */ void *last_fct_out; /* last fct pointer encoded */ void **q; + /* registry information */ + unsigned long last_head; + struct list_head list; /* list of thread queues */ }; #endif /* _URCU_DEFER_STATIC_H */