aboutsummaryrefslogtreecommitdiff
path: root/lib/cEphemeron.ml
diff options
context:
space:
mode:
authorHugo Herbelin2017-05-29 21:01:23 +0200
committerHugo Herbelin2017-06-04 19:25:22 +0200
commit62012e2d412d8586bd62b60beeb0b4005a66151f (patch)
tree53c3f21b2f972a383c4b603bcae11bd13d257a6f /lib/cEphemeron.ml
parentb91f5d1adbd039809e31b5311d06b376829de1fc (diff)
A few typos.
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 a38ea11e10..890e02dc4e 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! *)