Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Lock interest_mutex_ When interest_ Modified in ctlEx
EventMethEpollEquivImpl::ctlEx now locks interest_mutex_ when performing its add/mod/del actions. Previously, the interest_mutex_ lock was released before these add/mod/del actions were performed. This was confirmed to occasionally cause a "use after free" in findEmEventInAnInterestSet (called out of getReadyEmEvents) in another thread. It might also result in corruption of the interest_ std::set.
- Loading branch information