]> pd.if.org Git - pdclib.old/blob - opt/nothread/mtx_timedlock.c
<float.h> is now implemented in the platform independent portion. It is based
[pdclib.old] / opt / nothread / mtx_timedlock.c
1 #ifndef REGTEST\r
2 #include <threads.h>\r
3 \r
4 int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)\r
5 {\r
6         return mtx_lock(mtx);\r
7 }\r
8 #endif\r
9 \r
10 #ifdef TEST\r
11 #include <_PDCLIB_test.h>\r
12 \r
13 int main( void )\r
14 {\r
15     return TEST_RESULTS;\r
16 }\r
17 \r
18 #endif