mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
* Tweaked the signals.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1186 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -44,8 +44,13 @@ class SignalHandler {
|
||||
public:
|
||||
typedef sigc::slot0<void> Slot;
|
||||
|
||||
static const unsigned int HIGHEST_SIGNAL = SIGUSR2;
|
||||
|
||||
#ifdef SIGRTMAX
|
||||
static const unsigned int HIGHEST_SIGNAL = SIGRTMAX;
|
||||
#else
|
||||
// Let's be on the safe side.
|
||||
static const unsigned int HIGHEST_SIGNAL = 64;
|
||||
#endif
|
||||
|
||||
static void set_default(unsigned int signum);
|
||||
static void set_ignore(unsigned int signum);
|
||||
static void set_handler(unsigned int signum, Slot slot);
|
||||
|
||||
Reference in New Issue
Block a user