module SharedCounter: functor (
Info
:
sig
end
) ->
sig
.. end
Creates a shared counter which is marshalling compliant.
Since Carbon-20101201
Parameters: |
Info |
: |
sig val name : string end
|
|
val next : unit -> int
Increments the counter and returns a fresh value