From f7b7532a4114b831f5ef66ed992d28e65fb3973f Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 6 Feb 2013 15:43:28 +0000 Subject: Changed needed to fix issues with task_restart() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/ostest/ostest_main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/examples/ostest/ostest_main.c') diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index d83adc413..978f72f9e 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -329,6 +329,12 @@ static int user_main(int argc, char *argv[]) check_test_memory_usage(); #endif + /* Checkout task_restart() */ + + printf("\nuser_main: task_restart test\n"); + restart_test(); + check_test_memory_usage(); + #ifdef CONFIG_SCHED_WAITPID /* Check waitpid() and friends */ -- cgit v1.2.3