miri::shims::unix::linux_like::eventfd

Function eventfd_write

Source
fn eventfd_write<'tcx>(
    buf_place: MPlaceTy<'tcx>,
    dest: &MPlaceTy<'tcx>,
    eventfd: FileDescriptionRef<EventFd>,
    ecx: &mut MiriInterpCx<'tcx>,
) -> InterpResult<'tcx>
Expand description

Block thread if the value addition will exceed u64::MAX -1, else just add the user-supplied value to current counter.