From 0097be6ae69c793dbacd37360dc8d8843f847808 Mon Sep 17 00:00:00 2001 From: Calascibetta Romain Date: Fri, 8 Nov 2024 11:32:00 +0100 Subject: [PATCH] Add a note about pread --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 90d3b25..422f097 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ let () = Lwt_main.run begin For the second point, only OCaml 5 and effects can answer this issue by using an effect which will notify the scheduler to read the page **in parallel**. ```ocaml +(* see [man 3 pread] *) let map fd ~pos len = Effect.perform (Scheduler.Pread (fd, pos, len)) let () = Scheduler.run begin fun () ->