config: rework global config, remove rwlock, make branches RCU like

Also added unit tests. Should have done separately but found a number of bugs.
This commit is contained in:
Antonio SJ Musumeci 2020-12-19 15:06:08 -05:00
parent 2e4c6c5fd1
commit 538467b86d
327 changed files with 6691 additions and 3036 deletions

View file

@ -16,9 +16,9 @@
#include "ef.hpp"
#include <cstdint>
#include <string>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
@ -28,6 +28,7 @@
#define GB (MB * 1024UL)
#define TB (GB * 1024UL)
namespace num
{
int