Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SSheldon/rust-dispatch
/ clone
Method
clone
src/sem.rs:78–83 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
76
77
impl Clone for Semaphore {
78
fn clone(&self) -> Self {
79
unsafe {
80
dispatch_retain(self.ptr);
81
}
82
Semaphore { ptr: self.ptr }
83
}
84
}
85
86
impl Drop for Semaphore {
Callers
4
async_increment
Function · 0.45
access
Method · 0.45
access_timeout
Method · 0.45
prompt
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected