From: Owen Shepherd Date: Thu, 23 Aug 2012 15:33:29 +0000 (+0100) Subject: win32: mtx_destroy implemented X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=8ea6754f7b066c496d7c7c68e7695aaec29b253a win32: mtx_destroy implemented --- 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