| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="generator" content="rustdoc"> |
| <meta name="description" content="API documentation for the Rust `sched` mod in crate `nix`."> |
| <meta name="keywords" content="rust, rustlang, rust-lang, sched"> |
| |
| <title>nix::sched - Rust</title> |
| |
| <link rel="stylesheet" type="text/css" href="../../normalize.css"> |
| <link rel="stylesheet" type="text/css" href="../../rustdoc.css"> |
| <link rel="stylesheet" type="text/css" href="../../main.css"> |
| |
| |
| |
| |
| </head> |
| <body class="rustdoc mod"> |
| <!--[if lte IE 8]> |
| <div class="warning"> |
| This old browser is unsupported and will most likely display funky |
| things. |
| </div> |
| <![endif]--> |
| |
| |
| |
| <nav class="sidebar"> |
| |
| <p class='location'>Module sched</p><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../index.html'>nix</a></p><script>window.sidebarCurrent = {name: 'sched', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script> |
| </nav> |
| |
| <nav class="sub"> |
| <form class="search-form js-only"> |
| <div class="search-container"> |
| <input class="search-input" name="search" |
| autocomplete="off" |
| placeholder="Click or press ‘S’ to search, ‘?’ for more options…" |
| type="search"> |
| </div> |
| </form> |
| </nav> |
| |
| <section id='main' class="content"> |
| <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>nix</a>::<wbr><a class="mod" href=''>sched</a></span><span class='out-of-band'><span id='render-detail'> |
| <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> |
| [<span class='inner'>−</span>] |
| </a> |
| </span><a class='srclink' href='../../src/nix/sched.rs.html#1-137' title='goto source code'>[src]</a></span></h1> |
| <h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.CloneFlags.html" |
| title='struct nix::sched::CloneFlags'>CloneFlags</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.CpuSet.html" |
| title='struct nix::sched::CpuSet'>CpuSet</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_CHILD_CLEARTID.html" |
| title='constant nix::sched::CLONE_CHILD_CLEARTID'>CLONE_CHILD_CLEARTID</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_CHILD_SETTID.html" |
| title='constant nix::sched::CLONE_CHILD_SETTID'>CLONE_CHILD_SETTID</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_DETACHED.html" |
| title='constant nix::sched::CLONE_DETACHED'>CLONE_DETACHED</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_FILES.html" |
| title='constant nix::sched::CLONE_FILES'>CLONE_FILES</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_FS.html" |
| title='constant nix::sched::CLONE_FS'>CLONE_FS</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_IO.html" |
| title='constant nix::sched::CLONE_IO'>CLONE_IO</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWCGROUP.html" |
| title='constant nix::sched::CLONE_NEWCGROUP'>CLONE_NEWCGROUP</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWIPC.html" |
| title='constant nix::sched::CLONE_NEWIPC'>CLONE_NEWIPC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWNET.html" |
| title='constant nix::sched::CLONE_NEWNET'>CLONE_NEWNET</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWNS.html" |
| title='constant nix::sched::CLONE_NEWNS'>CLONE_NEWNS</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWPID.html" |
| title='constant nix::sched::CLONE_NEWPID'>CLONE_NEWPID</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWUSER.html" |
| title='constant nix::sched::CLONE_NEWUSER'>CLONE_NEWUSER</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_NEWUTS.html" |
| title='constant nix::sched::CLONE_NEWUTS'>CLONE_NEWUTS</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_PARENT.html" |
| title='constant nix::sched::CLONE_PARENT'>CLONE_PARENT</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_PARENT_SETTID.html" |
| title='constant nix::sched::CLONE_PARENT_SETTID'>CLONE_PARENT_SETTID</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_PTRACE.html" |
| title='constant nix::sched::CLONE_PTRACE'>CLONE_PTRACE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_SETTLS.html" |
| title='constant nix::sched::CLONE_SETTLS'>CLONE_SETTLS</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_SIGHAND.html" |
| title='constant nix::sched::CLONE_SIGHAND'>CLONE_SIGHAND</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_SYSVSEM.html" |
| title='constant nix::sched::CLONE_SYSVSEM'>CLONE_SYSVSEM</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_THREAD.html" |
| title='constant nix::sched::CLONE_THREAD'>CLONE_THREAD</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_UNTRACED.html" |
| title='constant nix::sched::CLONE_UNTRACED'>CLONE_UNTRACED</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_VFORK.html" |
| title='constant nix::sched::CLONE_VFORK'>CLONE_VFORK</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.CLONE_VM.html" |
| title='constant nix::sched::CLONE_VM'>CLONE_VM</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.clone.html" |
| title='fn nix::sched::clone'>clone</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.sched_setaffinity.html" |
| title='fn nix::sched::sched_setaffinity'>sched_setaffinity</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.setns.html" |
| title='fn nix::sched::setns'>setns</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.unshare.html" |
| title='fn nix::sched::unshare'>unshare</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="type" href="type.CloneCb.html" |
| title='type nix::sched::CloneCb'>CloneCb</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table></section> |
| <section id='search' class="content hidden"></section> |
| |
| <section class="footer"></section> |
| |
| <aside id="help" class="hidden"> |
| <div> |
| <h1 class="hidden">Help</h1> |
| |
| <div class="shortcuts"> |
| <h2>Keyboard Shortcuts</h2> |
| |
| <dl> |
| <dt>?</dt> |
| <dd>Show this help dialog</dd> |
| <dt>S</dt> |
| <dd>Focus the search field</dd> |
| <dt>⇤</dt> |
| <dd>Move up in search results</dd> |
| <dt>⇥</dt> |
| <dd>Move down in search results</dd> |
| <dt>⏎</dt> |
| <dd>Go to active search result</dd> |
| <dt>+</dt> |
| <dd>Collapse/expand all sections</dd> |
| </dl> |
| </div> |
| |
| <div class="infos"> |
| <h2>Search Tricks</h2> |
| |
| <p> |
| Prefix searches with a type followed by a colon (e.g. |
| <code>fn:</code>) to restrict the search to a given type. |
| </p> |
| |
| <p> |
| Accepted types are: <code>fn</code>, <code>mod</code>, |
| <code>struct</code>, <code>enum</code>, |
| <code>trait</code>, <code>type</code>, <code>macro</code>, |
| and <code>const</code>. |
| </p> |
| |
| <p> |
| Search functions by type signature (e.g. |
| <code>vec -> usize</code> or <code>* -> vec</code>) |
| </p> |
| </div> |
| </div> |
| </aside> |
| |
| |
| |
| <script> |
| window.rootPath = "../../"; |
| window.currentCrate = "nix"; |
| </script> |
| <script src="../../main.js"></script> |
| <script defer src="../../search-index.js"></script> |
| </body> |
| </html> |