Proxy in rustc_data_structures::jobserver - Rust (original) (raw)
pub struct Proxy {
client: Client,
data: Mutex<ProxyData>,
wake_pending: Condvar,
helper: OnceLock<HelperThread>,
}Expand description
This is a jobserver proxy used to ensure that we hold on to at least one token.
Threads which are waiting on a token will wait on this.
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes