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

Function EventCreate

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

Source from the content-addressed store, hash-verified

62#if defined(_WIN32) || defined(__CYGWIN__)
63
64int EventCreate (SWelsDecEvent* e, int manualReset, int initialState) {
65 e->h = CreateEvent (NULL, manualReset, initialState, NULL);
66 e->isSignaled = initialState;
67 return (e->h != NULL) ? 0 : 1;
68}
69
70void EventReset (SWelsDecEvent* e) {
71 ResetEvent (e->h);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected