runtime: encapsulate checkpoint progress state
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user