Searched refs:task_handler (Results 1 – 8 of 8) sorted by relevance
81 OSI_STATE OSI_task_run(tOSI_TASK_HANDLER task_handler) { in OSI_task_run() argument86 if (!task_handler) { in OSI_task_run()88 } else if (task_handler->state != OSI_ALLOCATED) { in OSI_task_run()90 task_handler->state); in OSI_task_run()94 if (!pthread_create(&(task_handler->task), &attr, in OSI_task_run()96 (void*)(task_handler->task_entry))) { // in OSI_task_run()97 task_handler->state = OSI_RUN; in OSI_task_run()101 task_handler->name); in OSI_task_run()110 OSI_STATE OSI_task_isRun(tOSI_TASK_HANDLER task_handler) { in OSI_task_isRun() argument113 if (task_handler && task_handler->state == OSI_RUN) ret = OSI_RUN; in OSI_task_isRun()[all …]
88 OSI_STATE OSI_task_run(tOSI_TASK_HANDLER task_handler);100 OSI_STATE OSI_task_isRun(tOSI_TASK_HANDLER task_handler);112 OSI_STATE OSI_task_kill(tOSI_TASK_HANDLER task_handler);124 OSI_STATE OSI_task_stop(tOSI_TASK_HANDLER task_handler);136 OSI_STATE OSI_task_free(tOSI_TASK_HANDLER task_handler);
55 explicit SyncTask(TaskHandler &task_handler) : task_handler_(task_handler) { in SyncTask() argument