diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-18 23:42:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-18 23:42:12 +0000 |
commit | 6f83493635cb3507332725d981ac00053414b4ab (patch) | |
tree | ad8d0630ff15a2f3818b0d981b7c49cab4a14787 /nuttx/examples/ostest/dev_null.c | |
parent | da90ea4a7f3443a13b79cf0c9197f1f3736fc188 (diff) | |
download | px4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.tar.gz px4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.tar.bz2 px4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.zip |
Make number of threads in barrier test configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@935 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/dev_null.c')
-rw-r--r-- | nuttx/examples/ostest/dev_null.c | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/nuttx/examples/ostest/dev_null.c b/nuttx/examples/ostest/dev_null.c index 57776b495..e8fc6cf3f 100644 --- a/nuttx/examples/ostest/dev_null.c +++ b/nuttx/examples/ostest/dev_null.c @@ -1,7 +1,7 @@ -/************************************************************ - * dev_null.c +/**************************************************************************** + * examples/ostest/dev_null.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,15 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ - * Compilation Switches - ************************************************************/ - -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> #include <stdio.h> @@ -47,17 +43,17 @@ #include <fcntl.h> #include "ostest.h" -/************************************************************ +/**************************************************************************** * Private Data - ************************************************************/ + ****************************************************************************/ #if CONFIG_NFILE_DESCRIPTORS > 0 static FAR char buffer[1024]; -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ int dev_null(void) { |