current_ is false before the first map, after every new map, update or resize, and becomes true only once updateCosts has written the map (shared markMapWritten helper, also called by CriticalLayer). Readiness flags are written under the master mutex so the planner can trust isCurrent() taken under the same lock. Invalid partial updates are rejected with a throttled error.
1.3 KiB
1.3 KiB