bindings: cxx: clarify the meaning of negative timeouts in event wait
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 23 May 2023 13:01:34 +0000 (15:01 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 23 May 2023 13:01:34 +0000 (15:01 +0200)
commit8f3cd2b6b4c4038a8f87cd89d78edb0ec2c9dff6
treedb7d6233018bbabf5b2fdf99cb3f885b66257c45
parent64e9a5636d8ff7c7bbb28b4f0368fa75e14d638f
bindings: cxx: clarify the meaning of negative timeouts in event wait

chip::wait_info_event() and line_request::wait_edge_events() behave the
same as their C counterparts in that they block indefinitely when passed
a negative timeout value. State it explicitly in the docs.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/cxx/gpiodcxx/chip.hpp
bindings/cxx/gpiodcxx/line-request.hpp