Add lttng_notification_channel_has_pending_notification()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Jan 2018 19:12:35 +0000 (14:12 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
commit1d757b1cd3b4669b52e2d9ceafb03eafd42490ff
tree4360b4c0c6ffd2a2cead68ded074ec8e457ab5a7
parent94a61469bd430d5906b5c976379dd16e32d73933
Add lttng_notification_channel_has_pending_notification()

This new API allows notification channel users to check for
pending notifications without necessarily blocking until
a new notification is ready. Moreoever, the pending notification
is not consumed by this new API.

lttng_notification_channel_get_next_notification() must still
be called to consume the new notification.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/notification/channel.h
src/lib/lttng-ctl/channel.c
This page took 0.028738 seconds and 5 git commands to generate.