X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=c92c495ef88c161db41c3b14b5edfeb2c1435a2c;hb=10f020f1a39804bbef8cd1cf35ef7c9a8e75c7d6;hp=8c7863f643f27e1e7319c41cbae70cd1cdd5d051;hpb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;p=pdclib.old diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 8c7863f..c92c495 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -1,6 +1,18 @@ +#ifndef REGTEST #include void thrd_yield(void) { /* does nothing */ -} \ No newline at end of file +} +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file