mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 11:15:46 -05:00
5 lines
2.2 KiB
HTML
5 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>select_based (lwt.Lwt_engine.select_based)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../../index.html">Index</a> » <a href="../../index.html">lwt</a> » <a href="../index.html">Lwt_engine</a> » select_based</nav><header class="odoc-preamble"><h1>Class <code><span>Lwt_engine.select_based</span></code></h1><p>Abstract class for engines based on a select-like function.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec inherit"><code><span><span class="keyword">inherit</span> <a href="../class-type-t/index.html">t</a></span></code></div></div><div class="odoc-spec"><div class="spec method anchored" id="method-select"><a href="#method-select" class="anchor"></a><code><span><span class="keyword">method</span> <span class="keyword">private</span> <span class="keyword">virtual</span> select : <span><span><a href="../../../ocaml/Unix/index.html#type-file_descr">Unix.file_descr</a> list</span> <span class="arrow">-></span></span>
|
||
<span><span><a href="../../../ocaml/Unix/index.html#type-file_descr">Unix.file_descr</a> list</span> <span class="arrow">-></span></span>
|
||
<span>float <span class="arrow">-></span></span>
|
||
<span><a href="../../../ocaml/Unix/index.html#type-file_descr">Unix.file_descr</a> list</span> * <span><a href="../../../ocaml/Unix/index.html#type-file_descr">Unix.file_descr</a> list</span></span></code></div><div class="spec-doc"><p><code>select fds_r fds_w timeout</code> waits for either:</p><ul><li>one of the file descriptor of <code>fds_r</code> to become readable</li><li>one of the file descriptor of <code>fds_w</code> to become writable</li><li>timeout to expire</li></ul><p>and returns the list of readable file descriptor and the list of writable file descriptors.</p></div></div></div></body></html>
|