Signed-off-by: Bill Fischofer <[email protected]>
---
 include/odp/api/queue.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
index ce04eb4..df2a4c9 100644
--- a/include/odp/api/queue.h
+++ b/include/odp/api/queue.h
@@ -245,6 +245,19 @@ odp_schedule_prio_t odp_queue_sched_prio(odp_queue_t 
queue);
 odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue);
 
 /**
+ * Queue lock count
+ *
+ * Return number of ordered locks associated with this ordered queue.
+ * Lock count is defined in odp_schedule_param_t.
+ *
+ * @param queue   Queue handle
+ *
+ * @return Number of ordered locks associated with this ordered queue
+ * @retval <0 Specified queue is not ordered
+ */
+int odp_queue_lock_count(odp_queue_t queue);
+
+/**
  * Get printable value for an odp_queue_t
  *
  * @param hdl  odp_queue_t handle to be printed
-- 
2.1.4

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to