History

adjust encoder tasks, add ut and enable new thread pool under some slice modes

Sijia Chen committed 11 years ago

Commit 054a2971 parent 1a7a3e215 files · +330 −44Browse files

Showing the changes to codec/common/src/WelsThreadLib.cpp (1 of 15 files). Show all

Unified · Split

codec/common/src/WelsThreadLib.cpp+2−0
@@ -313,6 +313,7 @@ WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* p_event, const char* event_ · 312 unmodified lines
313 *p_event = NULL;313 *p_event = NULL;
314 return WELS_THREAD_ERROR_GENERAL;314 return WELS_THREAD_ERROR_GENERAL;
315 } else {315 } else {
316 //printf("event_open:%x, %s\n", p_event, event_name);
316 return WELS_THREAD_ERROR_OK;317 return WELS_THREAD_ERROR_OK;
317 }318 }
318#else319#else
@@ -329,6 +330,7 @@ WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* p_event, const char* event_ · 10 unmodified lines
329#endif330#endif
330}331}
331WELS_THREAD_ERROR_CODE WelsEventClose (WELS_EVENT* event, const char* event_name) {332WELS_THREAD_ERROR_CODE WelsEventClose (WELS_EVENT* event, const char* event_name) {
333 //printf("event_close:%x, %s\n", event, event_name);
332#ifdef __APPLE__334#ifdef __APPLE__
333 WELS_THREAD_ERROR_CODE err = sem_close (*event); // match with sem_open335 WELS_THREAD_ERROR_CODE err = sem_close (*event); // match with sem_open
334 if (event_name)336 if (event_name)

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