diff options
| author | Enrico Tassi | 2014-06-26 15:38:49 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2014-07-10 15:22:58 +0200 |
| commit | 19d2075236c4c3fd932f7cf003b9f7283dafaeca (patch) | |
| tree | 2a0d7c5a12ddbb88084fbb896ed221bd0aba2e33 /stm/tQueue.mli | |
| parent | edee36d00147dfaa99acf52a7b4d7ebf329b013f (diff) | |
more APIs in TQueue and CThread
These are now sufficient to implement PIDE
Diffstat (limited to 'stm/tQueue.mli')
| -rw-r--r-- | stm/tQueue.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/tQueue.mli b/stm/tQueue.mli index a3ea5532fc..f3703285a8 100644 --- a/stm/tQueue.mli +++ b/stm/tQueue.mli @@ -15,3 +15,5 @@ val push : 'a t -> 'a -> unit val reorder : 'a t -> ('a -> 'a -> int) -> unit val wait_until_n_are_waiting_and_queue_empty : int -> 'a t -> unit val dump : 'a t -> 'a list +val clear : 'a t -> unit +val is_empty : 'a t -> bool |
