From a73570e538bae5fe6797649d848b72b71941ba0e Mon Sep 17 00:00:00 2001 From: sfc-gh-tclinkenbeard Date: Tue, 29 Jun 2021 11:00:05 -0700 Subject: [PATCH] Added comment for crashHandler --- flow/Platform.actor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow/Platform.actor.cpp b/flow/Platform.actor.cpp index 27cbb7d0dd..087acf6e86 100644 --- a/flow/Platform.actor.cpp +++ b/flow/Platform.actor.cpp @@ -3410,6 +3410,8 @@ void platformInit() { #endif } +// The crashHandler function is registered to handle signals before the process terminates. +// Basic information about the crash is printed/traced, and stdout and trace events are flushed. void crashHandler(int sig) { #ifdef __linux__ // Pretty much all of this handler is risking undefined behavior and hangs,