Skip to content

Commit

Permalink
Deploying to gh-pages from @ 654fa0c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Oct 14, 2023
1 parent 5e429bd commit b00d23e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
5 changes: 3 additions & 2 deletions da/d46/lf__linux__support_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@
<div class="contents">
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;time.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d5/da7/lf__tag__64__32_8h_source.html">lf_tag_64_32.h</a>&quot;</code><br />
</div>
<p><a href="../../da/d46/lf__linux__support_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a98d0737d9461f08293ba054a2f754fc4" id="r_a98d0737d9461f08293ba054a2f754fc4"><td class="memItemLeft" align="right" valign="top">#<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">define</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d46/lf__linux__support_8h.html#a98d0737d9461f08293ba054a2f754fc4">_LF_CLOCK</a>&#160;&#160;&#160;<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">CLOCK_MONOTONIC</a></td></tr>
<tr class="memitem:a98d0737d9461f08293ba054a2f754fc4" id="r_a98d0737d9461f08293ba054a2f754fc4"><td class="memItemLeft" align="right" valign="top">#<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">define</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d46/lf__linux__support_8h.html#a98d0737d9461f08293ba054a2f754fc4">_LF_CLOCK</a>&#160;&#160;&#160;<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">CLOCK_REALTIME</a></td></tr>
<tr class="separator:a98d0737d9461f08293ba054a2f754fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
Expand All @@ -114,7 +115,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a98d0737d9461f08293ba054a
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">define</a> _LF_CLOCK&#160;&#160;&#160;<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">CLOCK_MONOTONIC</a></td>
<td class="memname">#<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">define</a> _LF_CLOCK&#160;&#160;&#160;<a class="el" href="../../d6/df3/hashmap_8h.html#ad2c17ed7e0d4d65a63bf9002aba2016f">CLOCK_REALTIME</a></td>
</tr>
</table>
</div><div class="memdoc">
Expand Down
43 changes: 26 additions & 17 deletions da/d46/lf__linux__support_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,32 @@
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include &lt;stdint.h&gt;</span> <span class="comment">// For fixed-width integral types</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include &lt;time.h&gt;</span> <span class="comment">// For CLOCK_MONOTONIC</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">// Use 64-bit times and 32-bit unsigned microsteps</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#include &quot;<a class="code" href="../../d5/da7/lf__tag__64__32_8h.html">lf_tag_64_32.h</a>&quot;</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="preprocessor">#if defined LF_THREADED</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor"> #if __STDC_VERSION__ &lt; 201112L || defined (__STDC_NO_THREADS__)</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// (Not C++11 or later) or no threads support</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor"> #include &quot;<a class="code" href="../../d6/d57/lf___p_o_s_i_x__threads__support_8h.html">lf_POSIX_threads_support.h</a>&quot;</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="preprocessor"> #else</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="preprocessor"> #include &quot;<a class="code" href="../../db/d70/lf___c11__threads__support_8h.html">lf_C11_threads_support.h</a>&quot;</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment">// The underlying physical clock for Linux</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../da/d46/lf__linux__support_8h.html#a98d0737d9461f08293ba054a2f754fc4"> 51</a></span><span class="preprocessor">#define _LF_CLOCK CLOCK_MONOTONIC</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="preprocessor">#endif </span><span class="comment">// LF_LINUX_SUPPORT_H</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include &lt;unistd.h&gt;</span> <span class="comment">// _POSIX_TIMERS _POSIX_CLOCK_MONOTONIC</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment">// Use 64-bit times and 32-bit unsigned microsteps</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#include &quot;<a class="code" href="../../d5/da7/lf__tag__64__32_8h.html">lf_tag_64_32.h</a>&quot;</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#if defined LF_THREADED</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="preprocessor"> #if __STDC_VERSION__ &lt; 201112L || defined (__STDC_NO_THREADS__)</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// (Not C++11 or later) or no threads support</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="preprocessor"> #include &quot;<a class="code" href="../../d6/d57/lf___p_o_s_i_x__threads__support_8h.html">lf_POSIX_threads_support.h</a>&quot;</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="preprocessor"> #else</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="preprocessor"> #include &quot;<a class="code" href="../../db/d70/lf___c11__threads__support_8h.html">lf_C11_threads_support.h</a>&quot;</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="preprocessor">#if !defined(_POSIX_TIMERS) || _POSIX_TIMERS &lt;= 0</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor"> #error Linux platform misses clock support</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment">// The underlying physical clock for Linux</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="preprocessor">#if defined(_POSIX_CLOCK_MONOTONIC)</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor"> #define _LF_CLOCK CLOCK_MONOTONIC</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../da/d46/lf__linux__support_8h.html#a98d0737d9461f08293ba054a2f754fc4"> 59</a></span><span class="preprocessor"> #define _LF_CLOCK CLOCK_REALTIME</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="preprocessor">#endif </span><span class="comment">// LF_LINUX_SUPPORT_H</span></div>
<div class="ttc" id="alf___c11__threads__support_8h_html"><div class="ttname"><a href="../../db/d70/lf___c11__threads__support_8h.html">lf_C11_threads_support.h</a></div></div>
<div class="ttc" id="alf___p_o_s_i_x__threads__support_8h_html"><div class="ttname"><a href="../../d6/d57/lf___p_o_s_i_x__threads__support_8h.html">lf_POSIX_threads_support.h</a></div></div>
<div class="ttc" id="alf__tag__64__32_8h_html"><div class="ttname"><a href="../../d5/da7/lf__tag__64__32_8h.html">lf_tag_64_32.h</a></div></div>
Expand Down

0 comments on commit b00d23e

Please sign in to comment.