diff options
-rw-r--r-- | lib/remoteCounter.mli | 5 |
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 |