Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ LockGuard
Class
LockGuard
crates/jit-debug/src/gdb_jit_int.rs:54–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
reason =
"field used to hold the lock until the end of the scope"
53
)]
54
pub struct LockGuard<
'a>(MutexGuard<'
a, ()>);
55
56
pub fn lock() -> LockGuard<'static> {
57
LockGuard(GDB_REGISTRATION.lock().unwrap())
Callers
1
lock
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected