summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/ostest_main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 15:43:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 15:43:28 +0000
commitf7b7532a4114b831f5ef66ed992d28e65fb3973f (patch)
tree929ad375fc60be5b08f35b49ff681db96d97b842 /apps/examples/ostest/ostest_main.c
parentd8a1b61690862777b137ec182a0d62dcf4ee8db2 (diff)
downloadnuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.tar.gz
nuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.tar.bz2
nuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.zip
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
Diffstat (limited to 'apps/examples/ostest/ostest_main.c')
-rw-r--r--apps/examples/ostest/ostest_main.c6
1 files changed, 6 insertions, 0 deletions
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 */