Commit e0ed9cd6 authored by Ben Hazelwood's avatar Ben Hazelwood
Browse files

Always register signals as there is little overhead

parent 0e1237e7
......@@ -15,12 +15,8 @@
static bool shouldCorruptData;
void registerSignalHandler() {
#ifdef PAUSE_RANK
signal(SIGUSR1, pauseThisRankSignalHandler);
#endif
#ifdef CORRUPT_RANK
signal(SIGUSR2, corruptThisRankSignalHandler);
#endif
shouldCorruptData = false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment