]> pd.if.org Git - pdclib/blobdiff - opt/nothread/mtx_timedlock.c
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[pdclib] / opt / nothread / mtx_timedlock.c
diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c
new file mode 100644 (file)
index 0000000..b8166b5
--- /dev/null
@@ -0,0 +1,6 @@
+#include <threads.h>\r
+\r
+int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)\r
+{\r
+       return mtx_lock(mtx);\r
+}
\ No newline at end of file