epicsExit: add epicsExitLater() to trigger process exit without blocking

This commit is contained in:
Michael Davidsaver committed 2014-11-13 11:58:35 -05:00
1 parent d35780888a
commit 924350b362
3 files changed
+26 -1

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ const char *exit_db = EXIT_FILE;
static void exitSubroutine(subRecord *precord) {
epicsExit((precord->a == 0.0) ? EXIT_SUCCESS : EXIT_FAILURE);
epicsExitLater((precord->a == 0.0) ? EXIT_SUCCESS : EXIT_FAILURE);
}
static void usage(int status) {