-
Notifications
You must be signed in to change notification settings - Fork 949
Wakeable poll #807
Copy link
Copy link
Closed
Labels
bugReporting an unexpected or problematic behavior of the codebaseReporting an unexpected or problematic behavior of the codebasecomponent:librdkafkaFor issues tied to the librdkfka elementsFor issues tied to the librdkfka elementspriority:highMaintainer triage tag for indicating high impact or criticality issuesMaintainer triage tag for indicating high impact or criticality issues
Metadata
Metadata
Assignees
Labels
bugReporting an unexpected or problematic behavior of the codebaseReporting an unexpected or problematic behavior of the codebasecomponent:librdkafkaFor issues tied to the librdkfka elementsFor issues tied to the librdkfka elementspriority:highMaintainer triage tag for indicating high impact or criticality issuesMaintainer triage tag for indicating high impact or criticality issues
Description
When i poll a message, if there is no message, i can not terminate the process.
Would it be intersting to wrap the polling with wakeable poll?
like wraping this function:
inside a
while start_time + timeout > current_timestatement, and put a little timout inside,so it will be wakeable?
Interesting for a PR?