summaryrefslogtreecommitdiffstats
path: root/zix/thread.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-11 21:43:46 +0100
committerDavid Robillard <d@drobilla.net>2020-11-11 22:01:05 +0100
commit4a8f17ff60659e78b3e5dfe8c62a61c7219d758f (patch)
tree3622770929bbccd691faaa923dab69880537d6ee /zix/thread.h
parente272466158a08eb61e5c31fcf3edae741e98cdfd (diff)
downloadzix-4a8f17ff60659e78b3e5dfe8c62a61c7219d758f.tar.gz
zix-4a8f17ff60659e78b3e5dfe8c62a61c7219d758f.tar.bz2
zix-4a8f17ff60659e78b3e5dfe8c62a61c7219d758f.zip
Rework BTree node datatype
Uses a union to separately define the layouts for leaf and internal nodes. This eliminates some sketchy memory usage (possibly UB), and allows the compiler and static analysis tools like sanitizers to check bounds properly.
Diffstat (limited to 'zix/thread.h')
0 files changed, 0 insertions, 0 deletions