Skip to content
1 viewer

rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off

cre8-util-lock-ext crates cargo crate

Mutex / RwLock poison-recovery extension trait — lock_or_recover (keep serving with possibly-stale data) + lock_or_skip (return None on poison; safer for cache reads). std-only. Third crate in the cre8-util-* tier.

crates/cre8-util-lock-ext · level 0 · 263 lines (195 code) · 1 files · 17 fns (10 tests) · cyclomatic Σ 25

0workspace deps
27direct dependents
259transitive dependents
0calls out
518calls in
696call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 45 callsnormal dep · 1 callsnormal dep · 17 callsnormal dep · 78 callsnormal dep · 62 callsnormal dep · 6 callsnormal dep · 125 callsnormal dep · 3 callsnormal dep · 7 callsnormal dep · 17 callsnormal dep · 2 callsnormal dep · 12 callsnormal dep · 4 callsnormal dep · 1 callsnormal dep · 12 callsnormal dep · 34 callsnormal dep · 1 callsnormal dep · 2 callsnormal dep · 10 callsnormal dep · 50 callsdev dep · 2 callsnormal dep · 3 callsnormal dep · 1 callsnormal dep · 5 callsnormal dep · 0 calls · never namednormal dep · 16 callsnormal dep · 0 calls · never namednormal dep · 2 callsutil-lock-extL0 · 195 linescre8-util-lock-extapp-agentL23 · 25,432 linescre8-app-agentapp-assetL7 · 593 linescre8-app-assetapp-audioL14 · 58,416 linescre8-app-audioapp-capitalstrategyL18 · 87,096 linescre8-app-capitalstrategyapp-computeL13 · 93,900 linescre8-app-computeapp-compute-coreL5 · 6,617 linescre8-app-compute-coreapp-conduitL13 · 77,432 linescre8-app-conduitapp-gatewayL12 · 23,741 linescre8-app-gatewayapp-imageL12 · 5,783 linescre8-app-imageapp-intelligenceL11 · 6,159 linescre8-app-intelligenceapp-intelligence-apiL4 · 1,046 linescre8-app-intelligence-apiapp-interpretL10 · 13,240 linescre8-app-interpretapp-interpret-apiL6 · 291 linescre8-app-interpret-apiapp-manifoldL9 · 18,864 linescre8-app-manifoldapp-matchingL16 · 23,392 linescre8-app-matchingapp-messagingL19 · 25,587 linescre8-app-messagingapp-meteringL10 · 4,358 linescre8-app-meteringapp-passportL9 · 3,816 linescre8-app-passportapp-protocolL8 · 25,233 linescre8-app-protocolapp-providerL15 · 67,827 linescre8-app-providerapp-taskL20 · 5,124 linescre8-app-taskapp-tunnelL13 · 2,369 linescre8-app-tunnelapp-valueL6 · 364 linescre8-app-valueplatform-processL4 · 914 linescre8-platform-processruntime-kernelL4 · 2,699 linescre8-runtime-kernelruntime-systemL4 · 2,388 linescre8-runtime-systemruntime-vmL9 · 4,285 linescre8-runtime-vmutil-ir-aliasL1 · 99 linescre8-util-ir-alias

Files

lowhigh

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
warn_oncesrc/lib.rs:46fn7361229
Mutex::lock_or_recoversrc/lib.rs:65trait impl923821198
warn_dedupesrc/lib.rs:41fn4110195
RwLock::read_or_recoversrc/lib.rs:110trait impl9284143.4
RwLock::write_or_recoversrc/lib.rs:120trait impl9257122.5
Condvar::wait_or_recoversrc/lib.rs:93trait impl92412.7
Mutex::lock_or_skipsrc/lib.rs:75trait impl92211.3
lock_or_recover_returns_guard_on_clean_locksrc/lib.rs:138fn51010.5
lock_or_recover_recovers_through_poisonsrc/lib.rs:145fn121010.5
lock_or_skip_returns_none_on_poisonsrc/lib.rs:159fn101010.5
warn_once_covers_deduped_warning_pathsrc/lib.rs:171fn41010.5
lock_or_skip_returns_guard_on_clean_locksrc/lib.rs:177fn51010.5
condvar_wait_or_recover_returns_after_notifysrc/lib.rs:184fn202020.5
condvar_wait_or_recover_recovers_after_poisonsrc/lib.rs:206fn221010.5
rwlock_clean_read_and_write_paths_are_coveredsrc/lib.rs:230fn61020.5
rwlock_or_recover_recovers_through_poisonsrc/lib.rs:238fn111010.5
rwlock_write_or_recover_recovers_through_poisonsrc/lib.rs:251fn121010.5

Outside the workspace

tracing