LLVM: llvm::JobSlot Class Reference (original) (raw)

A JobSlot represents a single job slot that can be acquired from or released to a jobserver pool. More...

#include "[llvm/Support/Jobserver.h](Jobserver%5F8h%5Fsource.html)"

Public Member Functions
JobSlot ()=default
Default constructor creates an invalid instance.
JobSlot (JobSlot &&Other) noexcept
JobSlot & operator= (JobSlot &&Other) noexcept
JobSlot (const JobSlot &)=delete
JobSlot & operator= (const JobSlot &)=delete
bool isValid () const
Returns true if this instance is valid (either implicit or explicit).
bool isImplicit () const
Returns true if this instance represents the implicit job slot.
uint8_t getExplicitValue () const
bool isExplicit () const
Friends
class JobserverClient
class JobserverClientImpl

A JobSlot represents a single job slot that can be acquired from or released to a jobserver pool.

This class is move-only.

Definition at line 75 of file Jobserver.h.

JobSlot() [1/3]

llvm::JobSlot::JobSlot ( ) default

JobSlot() [2/3]

llvm::JobSlot::JobSlot ( JobSlot && Other) inlinenoexcept

JobSlot() [3/3]

createExplicit()

createImplicit()

JobSlot llvm::JobSlot::createImplicit ( ) inlinestatic

getExplicitValue()

uint8_t llvm::JobSlot::getExplicitValue ( ) const

isExplicit()

bool llvm::JobSlot::isExplicit ( ) const inline

isImplicit()

bool llvm::JobSlot::isImplicit ( ) const inline

Returns true if this instance represents the implicit job slot.

Definition at line 100 of file Jobserver.h.

Referenced by isExplicit().

isValid()

bool llvm::JobSlot::isValid ( ) const inline

Returns true if this instance is valid (either implicit or explicit).

Definition at line 97 of file Jobserver.h.

Referenced by isExplicit().

operator=() [1/2]

operator=() [2/2]

JobserverClient

JobserverClientImpl


The documentation for this class was generated from the following files: