]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_init.c
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[pdclib] / opt / nothread / mtx_init.c
diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c
new file mode 100644 (file)
index 0000000..ff506e9
--- /dev/null
@@ -0,0 +1,7 @@
+#include <threads.h>\r
+\r
+int mtx_init(mtx_t *mtx, int type)\r
+{\r
+       *mtx = 0;\r
+       return thrd_success;\r
+}\r