Skip to main content

Module jobserver

Module jobserver 

Source

Re-exportsยง

use std::sync::Arc; ๐Ÿ”’
use std::sync::OnceLock; ๐Ÿ”’
use jobserver_crate::Client; ๐Ÿ”’
use jobserver_crate::FromEnv; ๐Ÿ”’
use jobserver_crate::FromEnvErrorKind; ๐Ÿ”’
use jobserver_crate::HelperThread; ๐Ÿ”’
use parking_lot::Condvar; ๐Ÿ”’
use parking_lot::Mutex; ๐Ÿ”’

Structsยง

Acquired
An acquired token from a jobserver.
Proxy
A wrapper around jobserver client used for two purposes:
ProxyData ๐Ÿ”’

Staticsยง

CLIENT ๐Ÿ”’

Functionsยง

client
Returns the jobserver client previously initialized by initialize_checked.
initialize
Initializes a jobserver client for the current rustc process. If inheriting jobserver from the environment fails for some reason, an new jobserver owned by the current rustc process will be created. If the inheritance failure reason is non-benign, the passed callback will be used to report the error.