Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: support configurable event loop mechanism #9244

Merged
merged 4 commits into from
Aug 19, 2024
Merged

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Aug 19, 2024

(clean PR based on #9121 and rebased on top of master)

This PR makes possible to choose manually the desired Event loop mechanism, otherwise the system does an automatic lookup. The new CMake options available are:

CMake option Description
FLB_EVENT_LOOP_EPOLL Linux based event system
FLB_EVENT_LOOP_ POLL Experimental support for poll(2) based event interface
FLB_EVENT_LOOP_KQUEUE BSD and Apple based event mechanism
FLB_EVENT_LOOP_SELECT Old interface, limited to 256 file descriptors only
FLB_EVENT_LOOP_LIBEVENT System provided by libevent library

note: this PR also adds support for the new poll(2) backend


Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-required ok-package-test Run PR packaging tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants