diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-04 01:06:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-10-04 01:06:16 +0000 |
commit | f3d5157564992f1ef9f390b3ce0c7d3706ba0f19 (patch) | |
tree | 4d9312c73d585628304bee0e045562054f9c351d /doc/libstddjb/iopause.html | |
parent | 3aad40d38f3cba359f78f81dd27b420d19aa45b7 (diff) | |
download | skalibs-f3d5157564992f1ef9f390b3ce0c7d3706ba0f19.tar.xz |
doc: fix URLs
Diffstat (limited to 'doc/libstddjb/iopause.html')
-rw-r--r-- | doc/libstddjb/iopause.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/libstddjb/iopause.html b/doc/libstddjb/iopause.html index 0ddaade..6b35416 100644 --- a/doc/libstddjb/iopause.html +++ b/doc/libstddjb/iopause.html @@ -30,9 +30,9 @@ and implemented in the <tt>libskarnet.a</tt> or <tt>libskarnet.so</tt> library. <p> <tt>iopause</tt> is the skalibs API for event loop selection. It's a wrapper around the system's <tt>ppoll()</tt> or -<a href="http://www.opengroup.org/onlinepubs/9699919799/functions/poll.html">poll()</a> +<a href="https://www.opengroup.org/onlinepubs/9699919799/functions/poll.html">poll()</a> (if available) or -<a href="http://www.opengroup.org/onlinepubs/9699919799/functions/select.html">select()</a> +<a href="https://www.opengroup.org/onlinepubs/9699919799/functions/select.html">select()</a> (if neither <tt>ppoll()</tt> n or <tt>poll()</tt> is available) function. It works around some system-dependent quirks; also it works with <em>absolute dates</em> instead of timeouts. This is a good thing: @@ -41,7 +41,7 @@ see below. <p> <tt>iopause</tt> is a derived work from Dan J. Bernstein's -<a href="http://cr.yp.to/lib/iopause.html">iopause</a> library, but the +<a href="https://cr.yp.to/lib/iopause.html">iopause</a> library, but the skalibs implementation is subtly different. </p> @@ -49,7 +49,7 @@ skalibs implementation is subtly different. <p> An <tt>iopause_fd</tt> structure is similar to a -<a href="http://www.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html">struct pollfd</a> +<a href="https://www.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html">struct pollfd</a> structure, and must be filled the same way. Usually, the user declares an array of <tt>iopause_fd</tt> and fills it, one element per descriptor to select on. If <em>x</em> is an <tt>iopause_fd</tt>: @@ -183,13 +183,13 @@ instead if they configure skalibs with the <tt>--enable-iopause-select</tt> opti </p> <p> -<a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html">poll()</a> +<a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html">poll()</a> has a more comfortable API than -<a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/select.html">select()</a>, +<a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/select.html">select()</a>, but its maximum precision is 1 millisecond, which might not be enough for some applications; using <tt>select()</tt> instead incurs some CPU overhead for the API conversion, but has a 1 microsecond precision. -<a href="http://man7.org/linux/man-pages/man2/poll.2.html">ppoll()</a> gets the best of +<a href="https://man7.org/linux/man-pages/man2/poll.2.html">ppoll()</a> gets the best of both worlds with the same interface model as <tt>poll()</tt> and a 1 nanosecond precision, which is why skalibs always uses it when available. </p> |