Home
last modified time | relevance | path

Searched refs:BaseQueue (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/resourceschedule/ffrt/src/queue/
H A Dbase_queue.cpp26 using CreateFunc = std::unique_ptr<ffrt::BaseQueue>(*)(const ffrt_queue_attr_t*);
50 std::atomic_uint32_t BaseQueue::queueId(1);
51 void BaseQueue::Stop() in Stop()
58 void BaseQueue::Stop(std::multimap<uint64_t, QueueTask*>& whenMap) in Stop()
64 void BaseQueue::Remove() in Remove()
70 void BaseQueue::Remove(std::multimap<uint64_t, QueueTask*>& whenMap) in Remove()
78 int BaseQueue::Remove(const char* name) in Remove()
84 int BaseQueue::Remove(const char* name, std::multimap<uint64_t, QueueTask*>& whenMap) in Remove()
104 int BaseQueue::Remove(const QueueTask* task) in Remove()
125 bool BaseQueue::HasTask(const char* name) in HasTask()
[all …]
H A Dbase_queue.h39 class BaseQueue : public NonCopyable {
41 explicit BaseQueue() : queueId_(queueId++) {} in BaseQueue() function
42 virtual ~BaseQueue() = default;
103 std::unique_ptr<BaseQueue> CreateQueue(int queueType, const ffrt_queue_attr_t* attr);
H A Deventhandler_adapter_queue.h68 return BaseQueue::Remove(task); in Remove()
73 return BaseQueue::Stop(); in Stop()
91 std::unique_ptr<BaseQueue> CreateEventHandlerAdapterQueue(const ffrt_queue_attr_t* attr);
H A Dserial_queue.h21 class SerialQueue : public BaseQueue {
47 std::unique_ptr<BaseQueue> CreateSerialQueue(const ffrt_queue_attr_t* attr);
H A Deventhandler_interactive_queue.h23 class EventHandlerInteractiveQueue : public BaseQueue {
72 std::unique_ptr<BaseQueue> CreateEventHandlerInteractiveQueue(const ffrt_queue_attr_t* attr);
H A Dconcurrent_queue.h21 class ConcurrentQueue : public BaseQueue {
70 std::unique_ptr<BaseQueue> CreateConcurrentQueue(const ffrt_queue_attr_t* attr);
H A Dqueue_handler.h94 inline const std::unique_ptr<BaseQueue>& GetQueue() in GetQueue()
115 std::unique_ptr<BaseQueue> queue_ = nullptr;
H A Deventhandler_interactive_queue.cpp47 std::unique_ptr<BaseQueue> CreateEventHandlerInteractiveQueue(const ffrt_queue_attr_t* attr) in CreateEventHandlerInteractiveQueue()
H A Dserial_queue.cpp84 std::unique_ptr<BaseQueue> CreateSerialQueue(const ffrt_queue_attr_t* attr) in CreateSerialQueue()
H A Dconcurrent_queue.cpp145 std::unique_ptr<BaseQueue> CreateConcurrentQueue(const ffrt_queue_attr_t* attr) in CreateConcurrentQueue()
H A Deventhandler_adapter_queue.cpp213 std::unique_ptr<BaseQueue> CreateEventHandlerAdapterQueue(const ffrt_queue_attr_t* attr) in CreateEventHandlerAdapterQueue()