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