Trait miri::shims::unix::macos::sync::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>