| 409 | |
| 410 | #ifndef WIN32 |
| 411 | static void registerSignalHandler(int signal, void (*handler)(int)) { |
| 412 | struct sigaction sa; |
| 413 | sa.sa_handler = handler; |
| 414 | sigemptyset(&sa.sa_mask); |
| 415 | sa.sa_flags = 0; |
| 416 | sigaction(signal, &sa, NULL); |
| 417 | } |
| 418 | #endif |
| 419 | |
| 420 | static boost::signals2::connection rpc_notify_block_change_connection; |
no test coverage detected