>
> which has a "Feature" category.
Yes I actually visited that page. I just forgot to mention it. But I couldn't create a feature request. I guess I have to create an account then? I tried to create an account now and I have to wait for it to be verified. Why isn't the issues just on github instead as people are more familiar with that?
> The flag approach would allow your application to eventually complete,
> which may not be the case if you endlessly wait for all callbacks to
> be completed without preventing further callbacks to be enqueued.
In my case I have made a wrapper over cds_lfht which allows for recursive lfht inside each other. for all lfht nodes there is a callback function which in turn calls call_rcu on all the children lfht nodes. That means the number of rcu_barriers needed to be called at program exit is the same as the depth of lfht nodes. In this case there will never be an infinite callback chain so if I understood correctly then I don't think using a flag is relevant. I could iterate over every node to check the max depth but that seems dirty. Isn't there an internal variable to check for how many callbacks are left or if there are any at all? Or maybe it's unsafe to access it?