diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-28 21:42:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-28 21:42:18 +0000 |
commit | 94c7babe23d72a1e379da0cf0aab32fcf9fadcf3 (patch) | |
tree | eedc930a4ed4a1108c87cae26d3fcda7e411dd1f /apps/examples/ostest/posixtimer.c | |
parent | 405c2b328ff4cd571bb9e464541b4d297b18f93d (diff) | |
download | nuttx-94c7babe23d72a1e379da0cf0aab32fcf9fadcf3.tar.gz nuttx-94c7babe23d72a1e379da0cf0aab32fcf9fadcf3.tar.bz2 nuttx-94c7babe23d72a1e379da0cf0aab32fcf9fadcf3.zip |
atexit() functions now called when task killed by task delete; For MCUs with <= 64Kb of SRAM, CONFIG_MM_SMALL can be defined to reduce the memory allocation overhead
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3648 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ostest/posixtimer.c')
-rw-r--r-- | apps/examples/ostest/posixtimer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/examples/ostest/posixtimer.c b/apps/examples/ostest/posixtimer.c index 457b4c1a2..3560c712b 100644 --- a/apps/examples/ostest/posixtimer.c +++ b/apps/examples/ostest/posixtimer.c @@ -1,7 +1,7 @@ /*********************************************************************** * examples/ostest/posixtimer.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -56,12 +56,6 @@ #define MY_TIMER_SIGNAL 17 #define SIGVALUE_INT 42 -#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0 -# define FFLUSH() fflush(stdout) -#else -# define FFLUSH() -#endif - /************************************************************************** * Private Data **************************************************************************/ |