| 122 | #if defined(_WIN32) || defined(__CYGWIN__) |
| 123 | |
| 124 | WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* event, const char* event_name) { |
| 125 | WELS_EVENT h = CreateEvent (NULL, FALSE, FALSE, NULL); |
| 126 | *event = h; |
| 127 | if (h == NULL) { |
| 128 | return WELS_THREAD_ERROR_GENERAL; |
| 129 | } |
| 130 | return WELS_THREAD_ERROR_OK; |
| 131 | } |
| 132 | |
| 133 | WELS_THREAD_ERROR_CODE WelsEventSignal (WELS_EVENT* event, WELS_MUTEX *pMutex, int* iCondition) { |
| 134 | (*iCondition) --; |
no outgoing calls
no test coverage detected