]> pd.if.org Git - pdclib/blob - opt/nothread/cnd_init.c
Unit tests
[pdclib] / opt / nothread / cnd_init.c
1 #include <threads.h>\r
2 \r
3 int cnd_init(cnd_t *cond)\r
4 {\r
5         /* does nothing */\r
6         return thrd_success;\r
7 }\r
8 \r
9 #ifdef TEST\r
10 #include <_PDCLIB_test.h>\r
11 \r
12 int main( void )\r
13 {\r
14     return TEST_RESULTS;\r
15 }\r
16 \r
17 #endif