From: Alan Cox Date: Fri, 29 May 2015 14:48:42 +0000 (+0100) Subject: utils: add a "while(1)" app for testing pre-emption bugs X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=62012f9d0076a8507fb3b91f27574fe3cf0034a3;p=FUZIX.git utils: add a "while(1)" app for testing pre-emption bugs --- diff --git a/Applications/util/Makefile b/Applications/util/Makefile index 5897a334..8c3f338f 100644 --- a/Applications/util/Makefile +++ b/Applications/util/Makefile @@ -50,6 +50,7 @@ SRCSNS = \ tr.c \ true.c \ uname.c \ + while1.c \ whoami.c \ yes.c diff --git a/Applications/util/while1.c b/Applications/util/while1.c new file mode 100644 index 00000000..ee9e1972 --- /dev/null +++ b/Applications/util/while1.c @@ -0,0 +1,8 @@ +/* + * Just for testing stuff + */ + +int main(int argc, char *argv[]) +{ + while(1); +}