X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;fp=opt%2Fnothread%2Fthrd_yield.c;h=840157bdaf2441cb7f80fff871ecf7f3283139a4;hb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa;hp=8c7863f643f27e1e7319c41cbae70cd1cdd5d051;hpb=a18343e497615802f47e0f6876b5bed73af674e0;p=pdclib diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 8c7863f..840157b 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -3,4 +3,14 @@ void thrd_yield(void) { /* does nothing */ -} \ No newline at end of file +} + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file