LeviLamina
Loading...
Searching...
No Matches
WorkerPool Class Reference
Inheritance diagram for WorkerPool:

Public Member Functions

WorkerPooloperator= (WorkerPool const &)
 WorkerPool (WorkerPool const &)
MCAPI WorkerPool (::std::string name, ::Scheduler &owner)
MCAPI WorkerPool (::std::string name, uint64 threadCount, ::Bedrock::Threading::OSThreadPriority const &priority, ::std::optional< uint64 > coreAffinityMask, bool suppressWorkerProfiling, ::std::optional< int > idealCore)
MCAPI bool _checkPendingWork ()
MCNAPI_C ::std::vector<::std::thread::id > getThreadIds () const
MCAPI void queue (::std::shared_ptr<::BackgroundTaskBase > task, bool queueImmediate)
MCAPI ::std::shared_ptr<::BackgroundTaskBasetryPop (int minPriority)
MCAPI void * $ctor (::std::string name, ::Scheduler &owner)
MCAPI void * $ctor (::std::string name, uint64 threadCount, ::Bedrock::Threading::OSThreadPriority const &priority, ::std::optional< uint64 > coreAffinityMask, bool suppressWorkerProfiling, ::std::optional< int > idealCore)
MCAPI void $dtor ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI void _registerPool (::WorkerPool &pool)
static MCAPI void _unregisterPool (::WorkerPool &pool)
static MCAPI ::brstd::flat_set<::WorkerPool *, ::std::less<::WorkerPool * >, ::std::vector<::WorkerPool * > > & sAllPools ()
static MCAPI ::Bedrock::Threading::MutexsAllPoolsMutex ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnkc24dea
::ll::UntypedStorage< 8, 24 > mUnk727e41
::ll::UntypedStorage< 8, 32 > mUnka40a93
::ll::UntypedStorage< 8, 64 > mUnk66023e
::ll::UntypedStorage< 8, 8 > mUnk462341
::ll::UntypedStorage< 8, 8 > mUnk5991a5
::ll::UntypedStorage< 8, 80 > mUnk7be3ee
::ll::UntypedStorage< 4, 4 > mUnkda7062
::ll::UntypedStorage< 4, 4 > mUnk853032
::ll::UntypedStorage< 8, 32 > mUnkceb84a
::ll::UntypedStorage< 8, 24 > mUnk6b6c7b
::ll::UntypedStorage< 8, 8 > mUnk5695b7
::ll::UntypedStorage< 8, 360 > mUnk40c061
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Constructor & Destructor Documentation

◆ WorkerPool() [1/2]

MCAPI WorkerPool::WorkerPool ( ::std::string name,
::Scheduler & owner )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WorkerPool() [2/2]

MCAPI WorkerPool::WorkerPool ( ::std::string name,
uint64 threadCount,
::Bedrock::Threading::OSThreadPriority const & priority,
::std::optional< uint64 > coreAffinityMask,
bool suppressWorkerProfiling,
::std::optional< int > idealCore )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _checkPendingWork()

MCAPI bool WorkerPool::_checkPendingWork ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ queue()

MCAPI void WorkerPool::queue ( ::std::shared_ptr<::BackgroundTaskBase > task,
bool queueImmediate )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tryPop()

MCAPI ::std::shared_ptr<::BackgroundTaskBase > WorkerPool::tryPop ( int minPriority)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _registerPool()

MCAPI void WorkerPool::_registerPool ( ::WorkerPool & pool)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _unregisterPool()

MCAPI void WorkerPool::_unregisterPool ( ::WorkerPool & pool)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sAllPools()

MCAPI ::brstd::flat_set<::WorkerPool *, ::std::less<::WorkerPool * >, ::std::vector<::WorkerPool * > > & WorkerPool::sAllPools ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sAllPoolsMutex()

MCAPI ::Bedrock::Threading::Mutex & WorkerPool::sAllPoolsMutex ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/2]

MCAPI void * WorkerPool::$ctor ( ::std::string name,
::Scheduler & owner )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/2]

MCAPI void * WorkerPool::$ctor ( ::std::string name,
uint64 threadCount,
::Bedrock::Threading::OSThreadPriority const & priority,
::std::optional< uint64 > coreAffinityMask,
bool suppressWorkerProfiling,
::std::optional< int > idealCore )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void WorkerPool::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** WorkerPool::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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