[nginx] How to check node has been deleted from rbtree?

Maxim Dounin mdounin at mdounin.ru
Mon Jul 9 12:23:53 UTC 2018


On Mon, Jul 09, 2018 at 07:51:47PM +0800, 洪志道 wrote:

> As shown the subject, I wonder how to check some node has been deleted from
> the red-black tree?

No such information is provided.  If you need it, you should 
implement it yourself or rewrite your code to avoid this 
requirement.  In nginx itself, code always knows if a particular 
node in in the rbtree or not.

Maxim Dounin

More information about the nginx-devel mailing list