]> pd.if.org Git - pdclib/blob - platform/win32/functions/threads/mtx_destroy.c
2f8a6c308a8be05f4aec0174ddb1f16edda5259f
[pdclib] / platform / win32 / functions / threads / mtx_destroy.c
1 #ifndef REGTEST
2 #include <threads.h>
3 #include <windows.h>
4
5 void mtx_destroy(mtx_t *mtx)
6 {
7     CloseHandle(mtx->_WaitEvHandle);
8 }
9 #endif
10
11 #ifdef TEST
12 #include "_PDCLIB_test.h"
13
14 int main( void )
15 {
16     return TEST_RESULTS;
17 }
18
19 #endif