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

Function SemCreate

codec/decoder/core/src/wels_decoder_thread.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98int SemCreate (SWelsDecSemphore* s, long value, long max) {
99 s->h = CreateSemaphore (NULL, value, max, NULL);
100 return (s->h != NULL) ? 0 : 1;
101}
102
103int SemWait (SWelsDecSemphore* s, int32_t timeout) {
104 DWORD result;

Callers

nothing calls this directly

Calls 1

WelsEventOpenFunction · 0.85

Tested by

no test coverage detected