From c454b5c6ac2e92d8963b96b3e508a13026c58c45 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Thu, 23 Aug 2012 16:33:29 +0100 Subject: [PATCH] win32: mtx_destroy implemented --- .../win32/functions/threads/mtx_destroy.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 platform/win32/functions/threads/mtx_destroy.c diff --git a/platform/win32/functions/threads/mtx_destroy.c b/platform/win32/functions/threads/mtx_destroy.c new file mode 100644 index 0000000..7a50a10 --- /dev/null +++ b/platform/win32/functions/threads/mtx_destroy.c @@ -0,0 +1,19 @@ +#ifndef REGTEST +#include +#include + +void mtx_destroy(mtx_t *mtx) +{ + CloseHandle(mtx->_WaitEvHandle); +} +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file -- 2.40.0