aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/remoteCounter.mli
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-01 10:06:48 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-01 10:06:48 +0100
commit2d0eb14312d5a7deb5099830ea5742cb3350a334 (patch)
tree765d79f3ee0770f31c3cb3b3f947de0daba734f0 /lib/remoteCounter.mli
parent60810aaecee193a8e4b8a91f5b8c75b8e7e9941c (diff)
Better comment
Diffstat (limited to 'lib/remoteCounter.mli')
-rw-r--r--lib/remoteCounter.mli5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/remoteCounter.mli b/lib/remoteCounter.mli
index 18e6b6b59..03f0f8827 100644
--- a/lib/remoteCounter.mli
+++ b/lib/remoteCounter.mli
@@ -10,7 +10,10 @@
* scenario, the slave installs a getter that asks the master for a fresh
* value. In the scenario of a slave that runs after the death of the master
* on some marshalled data, a backup of all counters status should be taken and
- * restored to avoid reusing ids. *)
+ * restored to avoid reusing ids.
+ * Counters cannot be created by threads, they must be created once and forall
+ * as toplevel module declarations. *)
+
type 'a getter = unit -> 'a
type 'a installer = ('a getter) -> unit