MCPcopy Create free account
hub / github.com/abgros/stalloc / StallocGuard

Class StallocGuard

src/syncstalloc.rs:24–31  ·  view source on GitHub ↗

A lock around `SyncStalloc`. Constructing this type is proof that the user holds an exclusive lock on the inner `UnsafeStalloc`. When this falls out of scope, the `SyncStalloc` is unlocked. This is effectively a reimplementation of `std::sync::MutexGuard`.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected