Did you mean point site:rust.docs.kernel.org?

5 matching pages, found in 90 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › lazy.rs
    More about rust.docs.kernel.org
    lazy.rs - source

    … type in [`std::sync::poison`] like 27 /// [`std::sync::poison::Mutex`] allows recovery via [`PoisonError::into_inner()`]. 28 /// 29 /// [`force()`]: LazyCell::force 30 /// [`std::sync::poison`]: ../../std/sync/poison/index.html 31 /// [`std …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › cell › struct.LazyCell
    More about rust.docs.kernel.org
    LazyCell in core::cell - Rust

    … see std::sync::LazyLock . § Poisoning If the initialization closure passed to LazyCell::new panics, the cell will be poisoned. Once the cell is poisoned, any threads that attempt to access this cell …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › cell › struct.LazyCell
    More about rust.docs.kernel.org
    LazyCell in core::cell - Rust

    … see std::sync::LazyLock . § Poisoning If the initialization closure passed to LazyCell::new panics, the cell will be poisoned. Once the cell is poisoned, any threads that attempt to access this cell …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › panic › unwind_safe.rs
    More about rust.docs.kernel.org
    unwind_safe.rs - source

    … because they implement 75 /// poisoning by default. They still allow witnessing a broken invariant, but 76 /// they already provide their own "speed bumps" to do so. 77 /// 78 /// ## When should `UnwindSafe` be …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › panic › trait.UnwindSafe
    More about rust.docs.kernel.org
    UnwindSafe in core::panic - Rust

    … safe because they implement poisoning by default. They still allow witnessing a broken invariant, but they already provide their own “speed bumps” to do so. § When should UnwindSafe be used? It is …

    0 points

Search for “Poison site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.