Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ func
Function
func
toys/call-no-deadlock/src/main.rs:3–4 ·
view source on GitHub ↗
(_g1: MutexGuard<'_, i32>, _g2: MutexGuard<'_, i32>)
Source
from the content-addressed store, hash-verified
1
use std::sync::{Mutex, MutexGuard};
2
3
fn func(_g1: MutexGuard<
'_, i32>, _g2: MutexGuard<'
_, i32>) {
4
}
5
6
fn main() {
7
let mu1 = Mutex::new(1);
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected