History

Use pExitEncodeEvent instead of thread cancellation on unix as well

This works now that we've got a suitably working implementation of WelsMultipleEventsWaitSingleBlocking.

Martin Storsjö committed 12 years ago

Commit baaa3871 parent 38a3fad2 files · +12 −13Browse files

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

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+0−2
@@ -705,8 +705,6 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 704 unmodified lines
705 if (NULL == pPrivateData)705 if (NULL == pPrivateData)
706 WELS_THREAD_ROUTINE_RETURN (1);706 WELS_THREAD_ROUTINE_RETURN (1);
707 707
708 WelsSetThreadCancelable();
709
710 pEncPEncCtx = (sWelsEncCtx*)pPrivateData->pWelsPEncCtx;708 pEncPEncCtx = (sWelsEncCtx*)pPrivateData->pWelsPEncCtx;
711 709
712 iThreadIdx = pPrivateData->iThreadIndex;710 iThreadIdx = pPrivateData->iThreadIndex;

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