Skip to content

core: support configurable event loop mechanism - #9244

Merged
edsiper merged 4 commits into
masterfrom
lib-monkey-poll-2
Aug 19, 2024
Merged

core: support configurable event loop mechanism#9244
edsiper merged 4 commits into
masterfrom
lib-monkey-poll-2

Conversation

@edsiper

@edsiper edsiper commented Aug 19, 2024

Copy link
Copy Markdown
Member

(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.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
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