Use signalfd to handle SIGINT and SIGTERM shutdown.
This commit is contained in:
@@ -18,7 +18,6 @@ extern uint32_t peer_count_in, peer_count_out, peer_count_out_in;
|
||||
|
||||
void peer_init(void);
|
||||
void peer_cleanup(void);
|
||||
void peer_shutdown(int signal);
|
||||
void peer_epoll_add(struct peer *, uint32_t);
|
||||
void peer_epoll_del(struct peer *);
|
||||
void peer_close(struct peer *);
|
||||
|
||||
Reference in New Issue
Block a user