MCPcopy Create free account
hub / github.com/cisco/openh264 / WelsThreadCreate

Function WelsThreadCreate

codec/common/src/WelsThreadLib.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187#endif
188
189WELS_THREAD_ERROR_CODE WelsThreadCreate (WELS_THREAD_HANDLE* thread, LPWELS_THREAD_ROUTINE routine,
190 void* arg, WELS_THREAD_ATTR attr) {
191 WELS_THREAD_HANDLE h = CreateThread (NULL, 0, routine, arg, 0, NULL);
192
193 if (h == NULL) {
194 return WELS_THREAD_ERROR_GENERAL;
195 }
196 * thread = h;
197
198 return WELS_THREAD_ERROR_OK;
199}
200
201WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name) {
202 // do nothing

Callers 3

TESTFunction · 0.85
ThreadCreateFunction · 0.85
StartMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68