Home
last modified time | relevance | path

Searched refs:CoStatus (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/ffrt/src/eu/
H A Dco_routine.cpp257 co->status.store(static_cast<int>(CoStatus::CO_UNINITIALIZED)); in CoStartEntry()
300 co->status.store(static_cast<int>(CoStatus::CO_UNINITIALIZED));
381 if (co->status.load() == static_cast<int>(CoStatus::CO_UNINITIALIZED)) {
389 if (task->coRoutine->status == static_cast<int>(CoStatus::CO_NOT_FINISH)) {
417 int ret = task->coRoutine->status.exchange(static_cast<int>(CoStatus::CO_RUNNING));
418 if (ret == static_cast<int>(CoStatus::CO_RUNNING) && GetBboxEnableState() != 0) {
479 co->status.store(static_cast<int>(CoStatus::CO_NOT_FINISH));
498 co->status.store(static_cast<int>(CoStatus::CO_NOT_FINISH)); // recovery to old state
H A Dco_routine.h43 enum class CoStatus { class
/foundation/resourceschedule/ffrt/src/dfx/bbox/
H A Dbbox.cpp155 if (t->coRoutine && (t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH)) in SaveNormalTaskStatus()
164 t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH) && t != g_cur_task; in SaveNormalTaskStatus()
199 if (t->coRoutine && (t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH))) { in SaveQueueTaskStatus()
207 t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH); in SaveQueueTaskStatus()
520 if (t->coRoutine && (t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH))) { in SaveNormalTaskStatusInfo()
530 t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH); in SaveNormalTaskStatusInfo()
572 if (t->coRoutine && (t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH))) { in SaveQueueTaskStatusInfo()
582 t->coRoutine->status.load() == static_cast<int>(CoStatus::CO_NOT_FINISH); in SaveQueueTaskStatusInfo()

Completed in 3 milliseconds