History

remove sink in WelsThreadPool and hide the construtor to finish the singleTon

sijchen committed 10 years ago

Commit 4db9c321 parent d4f09d97 files · +28 −54Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 7 files). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+0−1
@@ -347,7 +347,6 @@ int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPara · 346 unmodified lines
347 pSmt->piSliceIndexInThread[iIdx] = NULL;347 pSmt->piSliceIndexInThread[iIdx] = NULL;
348 }348 }
349 349
350
351 WelsSnprintf (name, SEM_NAME_MAX, "scm%s", pSmt->eventNamespace);350 WelsSnprintf (name, SEM_NAME_MAX, "scm%s", pSmt->eventNamespace);
352 err = WelsEventOpen (&pSmt->pSliceCodedMasterEvent, name);351 err = WelsEventOpen (&pSmt->pSliceCodedMasterEvent, name);
353 MT_TRACE_LOG (pLogCtx, WELS_LOG_INFO, "[MT] Open pSliceCodedMasterEvent named(%s) ret%d err%d", name, err, errno);352 MT_TRACE_LOG (pLogCtx, WELS_LOG_INFO, "[MT] Open pSliceCodedMasterEvent named(%s) ret%d err%d", name, err, errno);

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