diff mbox

[API-NEXT,3/5] api: schedule: add lock_count to odp_schedule_param_t

Message ID 1441507824-16437-4-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer Sept. 6, 2015, 2:50 a.m. UTC
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.fischofer@linaro.org>
---
 include/odp/api/schedule_types.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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;
 
 /**