1 /* 2 * Copyright 2015, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef SIGNAL_DISPOSITION_TYPES_H 6 #define SIGNAL_DISPOSITION_TYPES_H 7 8 9 enum SignalDisposition { 10 SIGNAL_DISPOSITION_IGNORE = 0, 11 SIGNAL_DISPOSITION_STOP_AT_RECEIPT, 12 SIGNAL_DISPOSITION_STOP_AT_SIGNAL_HANDLER, 13 // NB: if the team has no signal handler installed for 14 // the corresponding signal, this implies stop at receipt. 15 16 SIGNAL_DISPOSITION_MAX 17 }; 18 19 20 #endif // SIGNAL_DISPOSITION_TYPES_H 21