From ed501e5a979d2caeb46979959bb9374edddbd678 Mon Sep 17 00:00:00 2001 From: Taufik Rama Date: Sun, 26 Oct 2025 21:50:16 +0700 Subject: [PATCH] Actually fix compile errors when targeting musl --- glommio/src/executor/stall.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/glommio/src/executor/stall.rs b/glommio/src/executor/stall.rs index f73f381fa..2eae37c39 100644 --- a/glommio/src/executor/stall.rs +++ b/glommio/src/executor/stall.rs @@ -173,6 +173,7 @@ impl StallDetector { unsafe impl Send for SendWrapper {} let tid = SendWrapper(unsafe { nix::libc::pthread_self() }); std::thread::spawn(enclose::enclose! { (terminated, timer) move || { + let tid = tid; while timer.wait().is_ok() { if terminated.load(Ordering::Relaxed) { return