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>
Tue, 7 May 2019 17:10:16 +0000 (13:10 -0400)
commit30e83b586ce4672db58401f68113c9ae45f78ef2
tree5731c493d925524d5117b9719331a0e7e8a8327d
parent35002fb96310c752e6fab6d4fd56452b3888ad1b
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.025942 seconds and 4 git commands to generate.