X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-defer-static.h;h=593f9a8bb18e4c04422fb5b74c18bedda0d1d84c;hp=dd875ca66b75cdac02f21a9a6eba5a4ce9693796;hb=3644b3ee9ca6a858cf733579012ef595d652dcdf;hpb=ec4e58a3aba2084440012f8ccac3a31eb6101183 diff --git a/urcu-defer-static.h b/urcu-defer-static.h index dd875ca..593f9a8 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 */