Changeset 860
- Timestamp:
- 06/23/06 16:49:14 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/epollmplexer.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/epollmplexer.cc
r759 r860 95 95 throw FDMultiplexerException("Tried to remove unlisted fd "+lexical_cast<string>(fd)+ " from multiplexer"); 96 96 97 if(epoll_ctl(d_epollfd, EPOLL_CTL_DEL, fd, 0) < 0) 97 struct epoll_event dummy; 98 dummy.events = 0; 99 dummy.data.u64 = 0; 100 101 if(epoll_ctl(d_epollfd, EPOLL_CTL_DEL, fd, &dummy) < 0) 98 102 throw FDMultiplexerException("Removing fd from epoll set: "+stringerror()); 99 103 }