config_file.c
41.2 KB
-
config: make refresh atomic · c047317e
Current code sets the active map to a new one and builds it whilst it's active. This is a race condition with someone else trying to access the same config. Instead, let's build up our new map and swap the active and new one.
Carlos Martín Nieto committed