Skip to content
Commit 19a376aa authored by David Brown's avatar David Brown Committed by Benjamin Cabé
Browse files

kernel: poll: Allow 0 events for submitted work



Change:
    commit cc6317d7
    Author: Jukka Rissanen <jukka.rissanen@linux.intel.com>
    Date:   Fri Nov 1 14:03:32 2019 +0200

        kernel: poll: Allow 0 event input

Allows `k_poll` to be user with 0 events, which is useful for allowing just
a sleep without having to create artificial events.

Allow the same for `k_work_submit_to_queue()` and `k_work_submit()`.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 1b392779
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment