History

fix a return value of push_back

sijchen@cisco.com committed 9 years ago

Commit a78217d1 parent a136ba71 file · +1 −3Browse files

Showing the changes to codec/common/src/WelsThreadPool.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/WelsThreadPool.cpp+1−3
@@ -303,9 +303,7 @@ WELS_THREAD_ERROR_CODE CWelsThreadPool::RemoveThreadFromBusyList (CWelsTaskThrea · 302 unmodified lines
303bool CWelsThreadPool::AddTaskToWaitedList (IWelsTask* pTask) {303bool CWelsThreadPool::AddTaskToWaitedList (IWelsTask* pTask) {
304 CWelsAutoLock cLock (m_cLockWaitedTasks);304 CWelsAutoLock cLock (m_cLockWaitedTasks);
305 305
306 int32_t nRet = m_cWaitedTasks->push_back (pTask);306 return m_cWaitedTasks->push_back (pTask);
307 //fprintf(stdout, "CWelsThreadPool::AddTaskToWaitedList=%d, pTask=%x\n", m_cWaitedTasks->size(), pTask);
308 return (0 == nRet ? true : false);
309}307}
310 308
311CWelsTaskThread* CWelsThreadPool::GetIdleThread() {309CWelsTaskThread* CWelsThreadPool::GetIdleThread() {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t