miri::shims::unix::macos::sync

Trait EvalContextExt

Source
pub trait EvalContextExt<'tcx>: MiriInterpCxExt<'tcx> {
    // Provided methods
    fn os_unfair_lock_lock(
        &mut self,
        lock_op: &OpTy<'tcx>,
    ) -> InterpResult<'tcx> { ... }
    fn os_unfair_lock_trylock(
        &mut self,
        lock_op: &OpTy<'tcx>,
        dest: &MPlaceTy<'tcx>,
    ) -> InterpResult<'tcx> { ... }
    fn os_unfair_lock_unlock(
        &mut self,
        lock_op: &OpTy<'tcx>,
    ) -> InterpResult<'tcx> { ... }
    fn os_unfair_lock_assert_owner(
        &mut self,
        lock_op: &OpTy<'tcx>,
    ) -> InterpResult<'tcx> { ... }
    fn os_unfair_lock_assert_not_owner(
        &mut self,
        lock_op: &OpTy<'tcx>,
    ) -> InterpResult<'tcx> { ... }
}

Provided Methods§

Source

fn os_unfair_lock_lock(&mut self, lock_op: &OpTy<'tcx>) -> InterpResult<'tcx>

Source

fn os_unfair_lock_trylock( &mut self, lock_op: &OpTy<'tcx>, dest: &MPlaceTy<'tcx>, ) -> InterpResult<'tcx>

Source

fn os_unfair_lock_unlock(&mut self, lock_op: &OpTy<'tcx>) -> InterpResult<'tcx>

Source

fn os_unfair_lock_assert_owner( &mut self, lock_op: &OpTy<'tcx>, ) -> InterpResult<'tcx>

Source

fn os_unfair_lock_assert_not_owner( &mut self, lock_op: &OpTy<'tcx>, ) -> InterpResult<'tcx>

Implementors§

Source§

impl<'tcx> EvalContextExt<'tcx> for MiriInterpCx<'tcx>