version 1.17, 2004/10/17 20:39:17
|
version 1.18, 2004/11/21 00:38:26
|
|
|
private: | private: |
| |
#ifdef PEGASUS_HAS_SIGNALS | #ifdef PEGASUS_HAS_SIGNALS |
|
static const unsigned PEGASUS_NSIG = 32; |
|
|
typedef struct { | typedef struct { |
|
int signum; |
int active; | int active; |
signal_handler sh; | signal_handler sh; |
struct sigaction oldsa; | struct sigaction oldsa; |
} register_handler; | } register_handler; |
| |
register_handler reg_handler[32]; |
register_handler reg_handler[PEGASUS_NSIG + 1]; |
Mutex reg_mutex; | Mutex reg_mutex; |
| |
void deactivate_i(Uint32 signum); |
void deactivate_i(register_handle &rh); |
|
|
|
register_handler &getHandler(Uint32 sigum) const; |
#endif | #endif |
| |
}; | }; |