aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/schedule_types.h
diff options
context:
space:
mode:
authorBill Fischofer <bill.fischofer@linaro.org>2015-09-16 06:51:58 -0500
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-10-22 15:46:21 +0300
commit8b408539cdacb7975c80746f61f0043486e7df38 (patch)
treeba577818383eaf51ee2fd8181ecb103bc6a6b933 /include/odp/api/schedule_types.h
parent55caec6ba73580e3c3f08d66e70c15f650153570 (diff)
api: schedule: add lock_count to odp_schedule_param_t
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> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/schedule_types.h')
-rw-r--r--include/odp/api/schedule_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odp/api/schedule_types.h b/include/odp/api/schedule_types.h
index f7526ee0d..d4eda7838 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;
+ /** Ordered lock count for this queue */
+ unsigned lock_count;
} odp_schedule_param_t;
/**