Lines Matching refs:priority

43     TaskOptions(std::string dfxName, int64_t delayTime, EventQueue::Priority priority, uintptr_t taskId)
44 : dfxName_(dfxName), delayTime_(delayTime), priority_(priority), taskId_(taskId) {}
78 * @param priority Priority of the event queue for this event.
81 bool SendEvent(InnerEvent::Pointer &event, int64_t delayTime = 0, Priority priority = Priority::LOW);
88 * @param priority Priority of the event queue for this event.
91 bool SendTimingEvent(InnerEvent::Pointer &event, int64_t taskTime, Priority priority = Priority::LOW);
97 * @param priority Priority of the event queue for this event.
100 inline bool SendEvent(InnerEvent::Pointer &event, Priority priority)
102 return SendEvent(event, 0, priority);
110 * @param priority Priority of the event queue for this event.
113 inline bool SendEvent(InnerEvent::Pointer &&event, int64_t delayTime = 0, Priority priority = Priority::LOW)
115 return SendEvent(event, delayTime, priority);
137 * @param priority Priority of the event queue for this event.
142 Priority priority = Priority::LOW, const Caller &caller = {})
144 return SendEvent(InnerEvent::Get(innerEventId, 0, caller), delayTime, priority);
151 * @param priority Priority of the event queue for this event.
155 inline bool SendEvent(uint32_t innerEventId, Priority priority, const Caller &caller = {})
157 return SendEvent(InnerEvent::Get(innerEventId, 0, caller), 0, priority);
321 * Send an high priority event.
333 * Send an high priority event.
345 * Send an high priority event.
360 * Send an high priority event.
376 * Send an high priority event.
392 * Send an high priority event.
408 * Send an high priority event.
429 * @param priority Priority of the event queue for this event.
434 int64_t delayTime = 0, Priority priority = Priority::LOW, const Caller &caller = {})
436 return SendEvent(InnerEvent::Get(callback, name, caller), delayTime, priority);
444 * @param priority Priority of the event queue for this event.
449 Priority priority = Priority::LOW, const Caller &caller = {});
475 * @param priority Priority of the event queue for this event.
479 inline bool PostTask(const Callback &callback, Priority priority, const Caller &caller = {})
481 return PostTask(callback, std::string(), 0, priority, caller);
489 * @param priority Priority of the event queue for this event.
493 inline bool PostTask(const Callback &callback, int64_t delayTime, Priority priority = Priority::LOW,
496 return PostTask(callback, std::string(), delayTime, priority, caller);
514 * Post a high priority task.
529 * Post a high priority task.
573 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
576 bool SendSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW);
582 * @param priority Priority of the event queue for this event.
583 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
586 inline bool SendSyncEvent(InnerEvent::Pointer &&event, Priority priority = Priority::LOW)
588 return SendSyncEvent(event, priority);
596 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
601 Priority priority = Priority::LOW, const Caller &caller = {})
603 return SendSyncEvent(InnerEvent::Get(innerEventId, param, caller), priority);
610 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
614 inline bool SendSyncEvent(uint32_t innerEventId, Priority priority, const Caller &caller = {})
616 return SendSyncEvent(InnerEvent::Get(innerEventId, 0, caller), priority);
624 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
630 Priority priority = Priority::LOW, const Caller &caller = {})
632 return SendSyncEvent(InnerEvent::Get(innerEventId, object, 0, caller), priority);
640 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
646 Priority priority = Priority::LOW, const Caller &caller = {})
648 return SendSyncEvent(InnerEvent::Get(innerEventId, object, 0, caller), priority);
656 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
662 Priority priority = Priority::LOW, const Caller &caller = {})
664 return SendSyncEvent(InnerEvent::Get(innerEventId, object, 0, caller), priority);
672 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
678 Priority priority = Priority::LOW, const Caller &caller = {})
680 return SendSyncEvent(InnerEvent::Get(innerEventId, object, 0, caller), priority);
688 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
693 Priority priority = Priority::LOW, const Caller &caller = {})
695 return SendSyncEvent(InnerEvent::Get(callback, name, caller), priority);
702 * @param priority Priority of the event queue for this event, IDLE is not permitted for sync event.
706 inline bool PostSyncTask(const Callback &callback, Priority priority = Priority::LOW,
709 return PostSyncTask(callback, std::string(), priority, caller);
717 * @param priority Priority of the event queue for this event.
720 inline bool SendTimingEvent(InnerEvent::Pointer &&event, int64_t taskTime, Priority priority)
722 return SendTimingEvent(event, taskTime, priority);
757 * @param priority Priority of the event queue for this event.
761 inline bool SendTimingEvent(uint32_t innerEventId, int64_t taskTime, Priority priority,
764 return SendTimingEvent(InnerEvent::Get(innerEventId, 0, caller), taskTime, priority);
772 * @param priority Priority of the event queue for this event.
787 * @param priority Priority of the event queue for this event
793 Priority priority = Priority::LOW, const Caller &caller = {})
795 return SendTimingEvent(InnerEvent::Get(innerEventId, object, 0, caller), taskTime, priority);
804 * @param priority Priority of the event queue for this event
810 Priority priority = Priority::LOW, const Caller &caller = {})
812 return SendTimingEvent(InnerEvent::Get(innerEventId, object, 0, caller), taskTime, priority);
821 * @param priority Priority of the event queue for this event
827 Priority priority = Priority::LOW, const Caller &caller = {})
829 return SendTimingEvent(InnerEvent::Get(innerEventId, object, 0, caller), taskTime, priority);
838 * @param priority Priority of the event queue for this event
844 Priority priority = Priority::LOW, const Caller &caller = {})
846 return SendTimingEvent(InnerEvent::Get(innerEventId, object, 0, caller), taskTime, priority);
855 * @param priority Priority of the event queue for this event.
860 Priority priority = Priority::LOW, const Caller &caller = {})
862 return SendTimingEvent(InnerEvent::Get(callback, name, caller), taskTime, priority);
870 * @param priority Priority of the event queue for this event.
874 inline bool PostTimingTask(const Callback &callback, int64_t taskTime, Priority priority = Priority::LOW,
877 return PostTimingTask(callback, taskTime, std::string(), priority, caller);
931 * @param priority Priority of the for file descriptor.
936 EventQueue::Priority priority);
1030 * Check whether there are events which priority higher than basePrio in subevent queue.
1032 * @param basePrio base priority
1033 * @return Return true if there are higher priority events, ohtherwise return false.