runtime: encapsulate checkpoint progress state
Some checks failed
build / Linux asan (push) Has been cancelled
build / Linux release (push) Has been cancelled
build / FreeBSD build (push) Has been cancelled

This commit is contained in:
server
2026-04-14 07:12:27 +02:00
parent 3272537376
commit cecc822777
5 changed files with 68 additions and 8 deletions

View File

@@ -6,7 +6,6 @@
LPHEART thecore_heart = NULL;
std::atomic<int> shutdowned = FALSE;
std::atomic<int> tics = 0;
unsigned int thecore_profiler[NUM_PF];
static int pid_init(void)
@@ -115,5 +114,5 @@ int thecore_is_shutdowned(void)
void thecore_tick(void)
{
++tics;
signal_mark_progress();
}