We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74d6c84 + 9cb7dcc commit 8627a34Copy full SHA for 8627a34
vpr/src/base/vpr_signal_handler.cpp
@@ -9,18 +9,20 @@
9
* - SIGHUP : log, attempt to checkpoint, continue running
10
* - SIGTERM : log, attempt to checkpoint, then exit with INTERRUPTED_EXIT_CODE
11
*/
12
-#include "vtr_log.h"
13
#include "vtr_time.h"
14
15
#include "vpr_signal_handler.h"
16
-#include "vpr_exit_codes.h"
17
-#include "vpr_error.h"
18
#include "globals.h"
19
20
#include "read_place.h"
21
#include "read_route.h"
22
-#include "route_export.h"
23
-#include <atomic>
+
+// Currenly safe_write uses the POSIX write system call. This could be extended to other platforms in the future.
+#if defined(__unix__)
+#include "unistd.h"
+#endif
24
25
+#include "string.h"
26
27
#ifdef VPR_USE_SIGACTION
28
#include <csignal>
0 commit comments