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