3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/container/MovePriorityQueue.h"
7#include "mc/deps/core/threading/BackgroundTaskBase.h"
8#include "mc/deps/core/threading/SPSCQueue.h"
15class BackgroundTaskQueue {
30 BackgroundTaskQueue& operator=(BackgroundTaskQueue
const&);
44 MCNAPI
void queue(::std::shared_ptr<::BackgroundTaskBase> task,
bool queueImmediate);
48 MCNAPI ::std::shared_ptr<::BackgroundTaskBase>
tryPop(
int minPriority);
Definition BackgroundTaskBase.h:16
MCAPI ::std::shared_ptr<::BackgroundTaskBase > tryPop(int minPriority)
MCAPI ~BackgroundTaskQueue()
MCAPI void queue(::std::shared_ptr<::BackgroundTaskBase > task, bool queueImmediate)
MCAPI void resortPriorityQueue()
MCAPI BackgroundTaskQueue()
MCAPI bool _fetchAllAvailableTasks()
MCAPI uint64 getApproximateTaskCount() const