MCPcopy Create free account
hub / github.com/cisco/openh264 / SetTask

Method SetTask

codec/common/src/WelsTaskThread.cpp:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) {
73 CWelsAutoLock cLock (m_cLockTask);
74
75 if (!GetRunning()) {
76 return WELS_THREAD_ERROR_GENERAL;
77 }
78 WelsMutexLock(&m_hMutex);
79 m_pTask = pTask;
80 WelsMutexUnlock(&m_hMutex);
81 SignalThread();
82
83 return WELS_THREAD_ERROR_OK;
84}
85
86
87}

Callers 2

ExecuteTaskMethod · 0.80
QueueTaskMethod · 0.80

Calls 2

WelsMutexLockFunction · 0.85
WelsMutexUnlockFunction · 0.85

Tested by

no test coverage detected