← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 532: Added a thread-safe integer generator in Misc. This method exploits implicitely the global counte...

 

------------------------------------------------------------
revno: 532
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: WORKING
timestamp: Wed 2020-06-17 18:00:25 +0000
message:
  Added a thread-safe integer generator in Misc. This method exploits implicitely the global counter and lock used internally by OCaml for a thread-safe allocation. The generated identifiers (integers) are not progressive but new identifiers are greater than previously generated. This property may be fine to distinguish younger from older references.
modified:
  BASE/misc.ml
  BASE/misc.mli


--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk

Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription