Searched refs:newTask (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hicollie/frameworks/native/ |
D | xcollie_inner.cpp | 211 auto *newTask = new InputTimerPara(); in SetTimer() local 212 if (newTask == nullptr) { in SetTimer() 215 newTask->name = name; in SetTimer() 216 newTask->flag = flag; in SetTimer() 217 newTask->timeout = timeout; in SetTimer() 218 newTask->tid = gettid(); in SetTimer() 219 newTask->func = func; in SetTimer() 220 newTask->arg = arg; in SetTimer() 221 newTask->startTime = time(nullptr); in SetTimer() 227 .inputTimerPara = newTask, in SetTimer() [all …]
|
/base/security/device_auth/services/authenticators/src/account_related/ |
D | account_module.c | 90 AccountTask *newTask = CreateAccountTaskT(taskId, in, out); in CreateAccountTask() local 91 if (newTask == NULL) { in CreateAccountTask() 95 res = authManager->addTaskToManager(newTask); in CreateAccountTask() 98 newTask->destroyTask(newTask); in CreateAccountTask()
|
/base/update/updater/services/script/threadpool/ |
D | threadpool.cpp | 115 Task newTask; in AddNewTask() local 116 newTask.workSize = threadNumber_; in AddNewTask() 117 newTask.processor = [workSize, &task, this](int tId) { in AddNewTask() 122 RunTask(std::move(newTask), index); in AddNewTask()
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_event_queue_test.cpp | 986 auto newTask = [&handler, &fileDescriptor, &event, &fileDescriptorListener, &taskCalled]() { in __anona7ecc2610b02() variable 998 std::thread newThread(newTask);
|