Home
last modified time | relevance | path

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

/frameworks/media/libvideoeditor/osal/src/
DM4OSA_Thread.c43 M4OSA_ThreadContext* threadContext = (M4OSA_ThreadContext*)context; in M4OSA_threadSyncForEverDo() local
56 M4OSA_mutexLock(threadContext->stateMutex, M4OSA_WAIT_FOREVER); in M4OSA_threadSyncForEverDo()
59 threadContext->state = M4OSA_kThreadRunning; in M4OSA_threadSyncForEverDo()
61 M4OSA_semaphorePost(threadContext->semStartStop); in M4OSA_threadSyncForEverDo()
63 while(threadContext->state == M4OSA_kThreadRunning) in M4OSA_threadSyncForEverDo()
65 M4OSA_mutexUnlock(threadContext->stateMutex); in M4OSA_threadSyncForEverDo()
67 if((threadContext->func(threadContext->param)) != M4NO_ERROR) in M4OSA_threadSyncForEverDo()
69 M4OSA_mutexLock(threadContext->stateMutex, M4OSA_WAIT_FOREVER); in M4OSA_threadSyncForEverDo()
71 if(threadContext->state == M4OSA_kThreadRunning) in M4OSA_threadSyncForEverDo()
76 threadContext->state = M4OSA_kThreadOpened; in M4OSA_threadSyncForEverDo()
[all …]
/frameworks/base/media/jni/mediaeditor/
DVideoEditorMain.cpp94 M4OSA_Context threadContext; member