From: Mathieu Desnoyers Date: Sun, 20 Jan 2013 21:59:36 +0000 (-0500) Subject: wfstack: add nonblocking to _LGPL_SOURCE API X-Git-Tag: v0.8.0~117 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=150fc1bb007cfbbca35914b4c2890494d87ec489;p=userspace-rcu.git wfstack: add nonblocking to _LGPL_SOURCE API Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/wfstack.h b/urcu/wfstack.h index 03fee8f..34ddb3f 100644 --- a/urcu/wfstack.h +++ b/urcu/wfstack.h @@ -103,6 +103,7 @@ struct cds_wfs_stack { */ #define cds_wfs_first _cds_wfs_first #define cds_wfs_next_blocking _cds_wfs_next_blocking +#define cds_wfs_next_nonblocking _cds_wfs_next_nonblocking /* Pop locking with internal mutex */ #define cds_wfs_pop_lock _cds_wfs_pop_lock @@ -110,6 +111,7 @@ struct cds_wfs_stack { /* Synchronization ensured by the caller. See synchronization table. */ #define __cds_wfs_pop_blocking ___cds_wfs_pop_blocking +#define __cds_wfs_pop_nonblocking ___cds_wfs_pop_nonblocking #define __cds_wfs_pop_all ___cds_wfs_pop_all #else /* !_LGPL_SOURCE */