Changeset 42389 for trunk/Ohana/src/opihi/pcontrol/CheckSystem.c
- Timestamp:
- Feb 8, 2023, 12:17:35 PM (3 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/pcontrol/CheckSystem.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
trunk/Ohana/src/opihi/pcontrol/CheckSystem.c
r39457 r42389 4 4 static struct timeval lastlive = {0, 0}; 5 5 static RunLevels RunLevel = PCONTROL_RUN_NONE; 6 7 static int CheckSystemThreadRuns = TRUE; 8 9 void QuitCheckSystemThread (void) { 10 CheckSystemThreadRuns = FALSE; 11 } 12 6 13 7 14 RunLevels SetRunLevel (RunLevels level) { … … 67 74 gprintInit (); 68 75 69 while ( 1) {76 while (CheckSystemThreadRuns) { 70 77 // stop here if the user-thread requests (no objects in flight) 71 78 TestCheckPoint ();
Note:
See TracChangeset
for help on using the changeset viewer.
