瀏覽代碼

vlc/sandbox: add info about ReadFileEx

Alexandre Janniaux 7 年之前
父節點
當前提交
7344c39d52
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      vlc_sandbox.md

+ 7 - 0
vlc_sandbox.md

@@ -307,6 +307,13 @@ structure.
 
 TODO: removing HANDLE from the IO port.
 
+`ReadFileEx` provide another kind of writing asynchronous IO, but still built
+upon this concept of completion. One can register an user-defined callback
+which will be casted at the end of the IO operation.
+
+This callback will get the ownership of the `OVERLAPPED` object and will be
+responsible for processing and releasing it.
+
 a lire
 https://opensource.googleblog.com/2010/01/libevent-20x-like-libevent-14x-only.html
 => easier to write a notify-to-completion than completion-to-notify wrapper.