diff options
author | fadhil riyanto <me@fadev.org> | 2024-10-01 08:11:00 +0700 |
---|---|---|
committer | fadhil riyanto <me@fadev.org> | 2024-10-01 08:11:00 +0700 |
commit | 13bdab6ce8012124c6169c87710e3ecd1706dde8 (patch) | |
tree | 78bacf8d674084ec238070f69a138f188a9dc93d /config.h | |
parent | 4ef48072c061b9146dc1c43fdb64bad0513d5d39 (diff) |
fix sigsegv when thread ended. Use thread pool instead
use own th_pool struct instead use fd_sockaddr_list
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,5 +3,6 @@ #define MAX_ACCEPT_WORKER 5 #define EPOLL_ACCEPTFD_WATCHLIST_LEN 20 +#define FREE_THREAD_ALLOC 50 #endif
\ No newline at end of file |