event/Loop: rename Abandon() to AbandonFD()
This commit is contained in:
parent
9f013f7de4
commit
abf9ae2dd9
|
@ -101,7 +101,7 @@ EventLoop::Break() noexcept
|
|||
}
|
||||
|
||||
bool
|
||||
EventLoop::Abandon(int _fd) noexcept
|
||||
EventLoop::AbandonFD(int _fd) noexcept
|
||||
{
|
||||
#ifdef HAVE_THREADED_EVENT_LOOP
|
||||
assert(!IsAlive() || IsInside());
|
||||
|
|
|
@ -204,14 +204,14 @@ public:
|
|||
return poll_group.Modify(_fd, flags, &m);
|
||||
}
|
||||
|
||||
bool RemoveFD(int fd) noexcept;
|
||||
|
||||
/**
|
||||
* Remove the given #SocketEvent after the file descriptor
|
||||
* has been closed. This is like RemoveFD(), but does not
|
||||
* attempt to use #EPOLL_CTL_DEL.
|
||||
*/
|
||||
bool Abandon(int fd) noexcept;
|
||||
|
||||
bool RemoveFD(int fd) noexcept;
|
||||
bool AbandonFD(int fd) noexcept;
|
||||
|
||||
void AddIdle(IdleEvent &i) noexcept;
|
||||
void RemoveIdle(IdleEvent &i) noexcept;
|
||||
|
|
Loading…
Reference in New Issue