Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NthTensor/Forte
/ semaphore
Method
semaphore
src/thread_pool.rs:1064–1066 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1062
static WORKER_PTR: Cell<*const Worker> = const { Cell::new(ptr::null()) };
1063
}
1064
1065
const REJECTION_MASK: u32 = (1u32 << 26) - 1;
1066
1067
impl Membership {
1068
/// Returns this worker's index within its thread pool.
1069
///
Callers
2
wait
Method · 0.80
new_latch
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected