aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/cEphemeron.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cEphemeron.ml')
-rw-r--r--lib/cEphemeron.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cEphemeron.ml b/lib/cEphemeron.ml
index a38ea11e1..890e02dc4 100644
--- a/lib/cEphemeron.ml
+++ b/lib/cEphemeron.ml
@@ -35,10 +35,10 @@ end)
would make the key always reachable) *)
let values : Obj.t HT.t = HT.create 1001
-(* To avoid a race contidion between the finalization function and
+(* To avoid a race condition between the finalization function and
get/create on the values hashtable, the finalization function just
enqueues in an imperative list the item to be collected. Being the list
- imperative, even if the Gc enqueue an item while run_collection is operating,
+ imperative, even if the Gc enqueues an item while run_collection is operating,
the tail of the list is eventually set to Empty on completion.
Kudos to the authors of Why3 that came up with this solution for their
implementation of weak hash tables! *)