aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm/tQueue.mli
diff options
context:
space:
mode:
Diffstat (limited to 'stm/tQueue.mli')
-rw-r--r--stm/tQueue.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/tQueue.mli b/stm/tQueue.mli
index 7458de510..f54af4df4 100644
--- a/stm/tQueue.mli
+++ b/stm/tQueue.mli
@@ -28,3 +28,5 @@ exception BeingDestroyed
(* Threads blocked in pop can get this exception if the queue is being
* destroyed *)
val destroy : 'a t -> unit
+
+val length : 'a t -> int