File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ which is a quite restrictive environment.
2020
2121If waiting for a event loop iteration is not acceptable or the signal is of a type that can only be handled directly
2222from a posix signal handler there is also the possiblity to use ` PosixSignalManager::addSyncSignalHandler ` to register
23- handlers that run directly in the async signal context. Again these handlers have to be
23+ handlers that run directly in the async signal context. Again these handlers have to be
2424[ async signal safe] ( https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03 ) ,
2525which is a quite restrictive environment. Synchronous handlers can stop processing the signal or mark it to be reraised.
2626
@@ -78,11 +78,11 @@ signal handler
7878 } else {
7979 // emergency shutdown here
8080 // maybe remove a pid file or some other externally visible cleanup
81-
81+
8282 // request posix signal manager to terminate application as if no signal handler had been set
8383 flags.reraise();
8484 // or as alternative
85- // _ exit(1);
85+ // _exit(1);
8686 }
8787 ++count;
8888 }, nullptr);
You can’t perform that action at this time.
0 commit comments