Use WelsThreadJoin on windows as well

This avoids using a separate event just for signalling that
a thread has finished running.
This commit is contained in:
Martin Storsjö
2014-03-03 22:57:57 +02:00
parent 181fe0a99e
commit b4aa9be7de
3 changed files with 1 additions and 16 deletions

View File

@@ -100,9 +100,6 @@ WELS_EVENT pUpdateMbListEvent[MAX_THREADS_NUM]; // signal to update mb list
WELS_EVENT pFinUpdateMbListEvent[MAX_THREADS_NUM]; // signal to indicate finish updating mb list
WELS_EVENT pExitEncodeEvent[MAX_THREADS_NUM]; // event for exit encoding event
WELS_EVENT pThreadMasterEvent[MAX_THREADS_NUM]; // event for indicating that some event has been signalled to the thread
#ifdef _WIN32
WELS_EVENT pFinSliceCodingEvent[MAX_THREADS_NUM]; // notify slice coding thread is done
#endif//_WIN32
WELS_MUTEX mutexSliceNumUpdate; // for dynamic slicing mode MT