English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Thread safe heterogenous property lists (dictionaries)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-03 (13:14)
From: Daniel_BĂĽnzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Thread safe heterogenous property lists (dictionaries)
> FWIW, a thread-safe way to generate fresh ids is:
>
> let fresh_id () = Oo.id (object end)

Thanks for the tip.

Daniel