You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(agnocastlib): remove the global variable need_epoll_updates
Previously, when events managed by epoll changed, we notified each Executor
to call `prepare_epoll_impl()` by setting the global atomic variable
`need_epoll_updates` to true. However, this implementation will become
problematic for future refactoring efforts aimed at extracting event-specific
processing from `agnocast_epoll.hpp` and `.cpp`.
This commit removes this global variable and introduces an alternative
notification mechanism. While the current implementation only supports
broadcasting notifications to all Executors—which leaves some performance
challenges—it establishes a 1-to-1 tracking structure for each Executor.
This lays the groundwork for implementing targeted 1-to-1 notifications
in the future.
Relates to: #969
0 commit comments