Skip to content

Commit

Permalink
two stray links fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine committed Nov 20, 2023
1 parent 9c31051 commit 84df899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/tutorials/language/5rt_01_garbage-collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This is an adaptation of the chapter [Understanding the Garbage Collector](https
*This chapter includes contributions from Stephen Weeks and Sadiq Jaffer.*

We've described the runtime format of individual OCaml variables earlier, in
[Memory Representation Of Values](runtime-memory-layout.html#memory-representation-of-values){data-type=xref}.
[Memory Representation Of Values](/docs/runtime-memory-layoutl#memory-representation-of-values){data-type=xref}.
When you execute your program, OCaml manages the lifecycle of these variables
by regularly scanning allocated values and freeing them when they're no
longer needed. This in turn means that your applications don't need to
Expand Down Expand Up @@ -611,7 +611,7 @@ registering finalizers in the `Core.Gc.Expert` module. Finalizers
can run at any time in any thread, so they can be pretty hard to reason
about in multi-threaded contexts.
Async, which we discussed in [Concurrent Programming with
Async](concurrent-programming.html#concurrent-programming-with-async){data-type=xref},
Async](https://dev.realworldocaml.org/concurrent-programming.html#concurrent-programming-with-async){data-type=xref},
shadows the `Gc` module with its own module that contains a function,
`Gc.add_finalizer`, which is concurrency-safe. In particular,
finalizers are scheduled in their own Async job, and care is taken by
Expand Down

0 comments on commit 84df899

Please sign in to comment.