]> pd.if.org Git - pdclib/blob - opt/nothread/mtx_init.c
Moved notime and mincoll from opt/ to functions/.
[pdclib] / opt / nothread / mtx_init.c
1 #ifndef REGTEST
2 #include <threads.h>
3
4 int mtx_init(mtx_t *mtx, int type)
5 {
6         *mtx = 0;
7         return thrd_success;
8 }
9 #endif
10
11 #ifdef TEST
12 #include "_PDCLIB_test.h"
13
14 int main( void )
15 {
16     return TEST_RESULTS;
17 }
18
19 #endif