From ccd3bf300351bca480a02427da3f1c378fe51724 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 2 Sep 2024 17:19:20 +0800 Subject: [PATCH] runtime: fix drtio inject lock --- src/runtime/src/moninj.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/src/moninj.rs b/src/runtime/src/moninj.rs index d077ce8d..1889a376 100644 --- a/src/runtime/src/moninj.rs +++ b/src/runtime/src/moninj.rs @@ -102,7 +102,7 @@ mod remote_moninj { overrd: i8, value: i8, ) { - let _lock = aux_mutex.lock(); + let _lock = aux_mutex.async_lock().await; drtioaux_async::send( linkno, &drtioaux_async::Packet::InjectionRequest {