From 150fc1bb007cfbbca35914b4c2890494d87ec489 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 20 Jan 2013 16:59:36 -0500 Subject: [PATCH] wfstack: add nonblocking to _LGPL_SOURCE API Signed-off-by: Mathieu Desnoyers --- urcu/wfstack.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.34.1