X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_timedlock.c;fp=opt%2Fnothread%2Fmtx_timedlock.c;h=b8166b5b97cfee37b74271635a5114db62e19b11;hp=0000000000000000000000000000000000000000;hb=b41576197133c1211d6ec353faf93f505f573b8a;hpb=93ca2d813f86c52bb9bece81ca564d4831bff9e5 diff --git a/opt/nothread/mtx_timedlock.c b/opt/nothread/mtx_timedlock.c new file mode 100644 index 0000000..b8166b5 --- /dev/null +++ b/opt/nothread/mtx_timedlock.c @@ -0,0 +1,6 @@ +#include + +int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) +{ + return mtx_lock(mtx); +} \ No newline at end of file