Change LTTNG_POLL_GETNB behaviour for poll flavor
authorYannick Lamarre <ylamarre@efficios.com>
Thu, 25 Apr 2019 22:23:29 +0000 (18:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 4 May 2019 19:24:18 +0000 (15:24 -0400)
commit7e222fa8b9a75aedecb927bb478d7655ec668752
tree40b727b7b52190077e1a9b7a4d78a3084b229f1e
parentb12e37246d50f74583cd29b4d766f6f4fb4e8656
Change LTTNG_POLL_GETNB behaviour for poll flavor

Modify LTTNG_POLL_GETNB to provide compatibility with the epoll flavor.
Since it is only used after a lttng_poll_wait call with no modification
(add, del, mod) between, this change does not modify the behaviour in
its current usage while ensuring similar API behavior between
compatibility layer implementations.

Signed-off-by: Yannick Lamarre <ylamarre@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/poll.h
This page took 0.028442 seconds and 4 git commands to generate.