This commit is contained in:
2025-05-09 21:47:00 +09:00
parent 78f2bfe2f6
commit 0aa312f67e
6 changed files with 41 additions and 59 deletions

View File

@@ -15,6 +15,8 @@ IOCP::~IOCP() {
void IOCP::destruct() {
#ifdef __linux__
uint64_t u = 1;
::write(epollDetroyerFd_, &u, sizeof(uint64_t));
close(epollfd_);
#endif
}