Home
last modified time | relevance | path

Searched refs:asyncTask (Results 1 – 1 of 1) sorted by relevance

/base/startup/init/services/loopevent/task/
Dle_asynctask.c24 static void DoAsyncEvent_(const LoopHandle loopHandle, AsyncEventTask *asyncTask) in DoAsyncEvent_() argument
26 LE_CHECK(loopHandle != NULL && asyncTask != NULL, return, "Invalid parameters"); in DoAsyncEvent_()
33 StreamTask *task = &asyncTask->stream; in DoAsyncEvent_()
38 if (asyncTask->processAsyncEvent) { in DoAsyncEvent_()
39 asyncTask->processAsyncEvent((TaskHandle)asyncTask, eventId, in DoAsyncEvent_()
60 AsyncEventTask *asyncTask = (AsyncEventTask *)taskHandle; in LE_DoAsyncEvent() local
61 while (!IsBufferEmpty(&asyncTask->stream)) { in LE_DoAsyncEvent()
70 AsyncEventTask *asyncTask = (AsyncEventTask *)taskHandle; in HandleAsyncEvent_() local
75 DoAsyncEvent_(loopHandle, asyncTask); in HandleAsyncEvent_()
76 if (!IsBufferEmpty(&asyncTask->stream)) { in HandleAsyncEvent_()