Skip to main content

read_shared_f64

Function read_shared_f64 

Source
pub unsafe fn read_shared_f64(cell: *const SharedCell) -> f64
Expand description

Read a f64 from a SharedCell’s payload while holding its lock.

§Safety

cell must point to a live SharedCell whose interior FieldKind is F64. Bit patterns written through any other write_shared_<kind> will be misinterpreted on read.