// Internal scheduler record holding intrusive linked list pieces struct ImplSchedulerData final
{
ImplSchedulerData* mpNext; ///< Pointer to the next element in list
Task* mpTask; ///< Pointer to VCL Task instance
sal_uInt64 mnUpdateTime; ///< Last Update Time
TaskPriority mePriority; ///< Task priority /** *IstheTaskcurrentlyprocessed/onthestack? * *Sincetheintroductionoftheschedulerstack,thisbecamemerelya *debuggingandassertionhint.Nodecisionsareanymoremadebasedon *this,becauseinvokedTasksareremovedfromtheschedulerlistsand *placedonthestack,sonocodeshouldactuallyeverfindone,where *mbInScheduleristrue(Idon'tseeareasontowalkthestackfor *normalSchedulerusage,thatis). * *ThiswasoriginallyusedtopreventinvokingTasksrecursively.
**/ bool mbInScheduler; ///< Task currently processed?
constchar *GetDebugName() const;
};
class SchedulerGuard final
{ public:
SchedulerGuard()
{
Scheduler::Lock();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.