The lock_count is used to specify the number of ordered locks to be
available for an ordered queue at odp_queue_create() time.

Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
---
 include/odp/api/schedule_types.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/odp/api/schedule_types.h b/include/odp/api/schedule_types.h
index f7526ee..e2ffde6 100644
--- a/include/odp/api/schedule_types.h
+++ b/include/odp/api/schedule_types.h
@@ -131,6 +131,8 @@ typedef     struct odp_schedule_param_t {
        odp_schedule_sync_t  sync;
        /** Thread group */
        odp_schedule_group_t group;
+       /** Lock group */
+       uint32_t lock_count; /**< Ordered lock count for this queue */
 } odp_schedule_param_t;
 
 /**
-- 
2.1.4

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to