diff options
| author | Enrico Tassi | 2015-02-10 08:34:00 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2015-02-16 17:53:06 +0100 |
| commit | ffe7fc6ff44ec94544123c47b3d01bdec05b3fe0 (patch) | |
| tree | d7ec22629888e0632ae0f8139b378d3e86cb8344 /stm/asyncTaskQueue.mli | |
| parent | cce1b6f06f9802f4d7c977322cec654ad2582d63 (diff) | |
*Queue: API to wake up all threads
Diffstat (limited to 'stm/asyncTaskQueue.mli')
| -rw-r--r-- | stm/asyncTaskQueue.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/asyncTaskQueue.mli b/stm/asyncTaskQueue.mli index 78f295d3d5..a3fe4b8c0d 100644 --- a/stm/asyncTaskQueue.mli +++ b/stm/asyncTaskQueue.mli @@ -61,6 +61,8 @@ module MakeQueue(T : Task) : sig val set_order : queue -> (T.task -> T.task -> int) -> unit + val broadcast : queue -> unit + (* Take a snapshot (non destructive but waits until all workers are * enqueued) *) val snapshot : queue -> T.task list |
