]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ebtree: implement the scope-aware functions for eb32
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Nov 2017 12:31:29 +0000 (13:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Nov 2017 10:20:11 +0000 (11:20 +0100)
commitca30839a857049acc96e26a28e7515533d9ff153
tree3ba230650b60a4ccceaa90b826a0c7ecdc6f3a31
parent92159b29014281337ebf44d6267cba24f0f72162
MINOR: ebtree: implement the scope-aware functions for eb32

A new kind of tree nodes is currently being developed in ebtree v7,
consisting in storing a scope in each node indicating a visibility
mask so that certain nodes are not reported on certain lookups. The
initial goal was to make this usable with a multi-thread scheduler.

Since the ebtree v7 code is completely different from v6, this patch
instead copies the minimally required functions from eb32 and ebtree
and calls them "eb32sc_*". At the moment the scope is not implemented,
it's only passed in arguments.
Makefile
ebtree/eb32sctree.c [new file with mode: 0644]
ebtree/eb32sctree.h [new file with mode: 0644]