19 lines
6.0 KiB
HTML
19 lines
6.0 KiB
HTML
<!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="Miscellaneous tools for concurrent programming."><title>crossbeam_utils - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="crossbeam_utils" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate crossbeam_utils</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../crossbeam_utils/index.html">crossbeam_<wbr>utils</a><span class="version">0.8.21</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#atomics" title="Atomics">Atomics</a></li><li><a href="#thread-synchronization" title="Thread synchronization">Thread synchronization</a></li><li><a href="#utilities" title="Utilities">Utilities</a></li></ul><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>crossbeam_<wbr>utils</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/crossbeam_utils/lib.rs.html#1-110">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Miscellaneous tools for concurrent programming.</p>
|
|
<h3 id="atomics"><a class="doc-anchor" href="#atomics">§</a>Atomics</h3>
|
|
<ul>
|
|
<li><a href="atomic/struct.AtomicCell.html" title="struct crossbeam_utils::atomic::AtomicCell"><code>AtomicCell</code></a>, a thread-safe mutable memory location.</li>
|
|
<li><a href="atomic/trait.AtomicConsume.html" title="trait crossbeam_utils::atomic::AtomicConsume"><code>AtomicConsume</code></a>, for reading from primitive atomic types with “consume” ordering.</li>
|
|
</ul>
|
|
<h3 id="thread-synchronization"><a class="doc-anchor" href="#thread-synchronization">§</a>Thread synchronization</h3>
|
|
<ul>
|
|
<li><a href="sync/struct.Parker.html" title="struct crossbeam_utils::sync::Parker"><code>Parker</code></a>, a thread parking primitive.</li>
|
|
<li><a href="sync/struct.ShardedLock.html" title="struct crossbeam_utils::sync::ShardedLock"><code>ShardedLock</code></a>, a sharded reader-writer lock with fast concurrent reads.</li>
|
|
<li><a href="sync/struct.WaitGroup.html" title="struct crossbeam_utils::sync::WaitGroup"><code>WaitGroup</code></a>, for synchronizing the beginning or end of some computation.</li>
|
|
</ul>
|
|
<h3 id="utilities"><a class="doc-anchor" href="#utilities">§</a>Utilities</h3>
|
|
<ul>
|
|
<li><a href="struct.Backoff.html" title="struct crossbeam_utils::Backoff"><code>Backoff</code></a>, for exponential backoff in spin loops.</li>
|
|
<li><a href="struct.CachePadded.html" title="struct crossbeam_utils::CachePadded"><code>CachePadded</code></a>, for padding and aligning a value to the length of a cache line.</li>
|
|
<li><a href="thread/fn.scope.html" title="fn crossbeam_utils::thread::scope"><code>scope</code></a>, for spawning threads that borrow local variables from the stack.</li>
|
|
</ul>
|
|
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="atomic/index.html" title="mod crossbeam_utils::atomic">atomic</a></dt><dd>Atomic types.</dd><dt><a class="mod" href="sync/index.html" title="mod crossbeam_utils::sync">sync</a></dt><dd>Thread synchronization primitives.</dd><dt><a class="mod" href="thread/index.html" title="mod crossbeam_utils::thread">thread</a></dt><dd>Threads that can borrow variables from the stack.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Backoff.html" title="struct crossbeam_utils::Backoff">Backoff</a></dt><dd>Performs exponential backoff in spin loops.</dd><dt><a class="struct" href="struct.CachePadded.html" title="struct crossbeam_utils::CachePadded">Cache<wbr>Padded</a></dt><dd>Pads and aligns a value to the length of a cache line.</dd></dl></section></div></main></body></html> |