From 5d419d446892951306c7802ae490961b43a26f4b Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 10 Jan 2013 00:45:11 +0000 Subject: Add spawn attribute logic which will eventually be needed to support posix_spawn() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5501 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttX.html | 14 ++-- nuttx/README.txt | 12 ++-- nuttx/configs/stm32f4discovery/README.txt | 4 +- nuttx/include/spawn.h | 37 +++++++++-- nuttx/libc/spawn/Make.defs | 5 ++ nuttx/libc/spawn/lib_psa_getflags.c | 72 +++++++++++++++++++++ nuttx/libc/spawn/lib_psa_getschedparam.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_getschedpolicy.c | 73 +++++++++++++++++++++ nuttx/libc/spawn/lib_psa_getsigdefault.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_getsigmask.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_init.c | 102 ++++++++++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_setflags.c | 71 +++++++++++++++++++++ nuttx/libc/spawn/lib_psa_setschedparam.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_setschedpolicy.c | 72 +++++++++++++++++++++ nuttx/libc/spawn/lib_psa_setsigdefault.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psa_setsigmask.c | 74 ++++++++++++++++++++++ nuttx/libc/spawn/lib_psfa_addclose.c | 4 +- nuttx/libc/spawn/lib_psfa_adddup2.c | 4 +- nuttx/libc/spawn/lib_psfa_init.c | 2 +- 19 files changed, 891 insertions(+), 25 deletions(-) create mode 100644 nuttx/libc/spawn/lib_psa_getflags.c create mode 100644 nuttx/libc/spawn/lib_psa_getschedparam.c create mode 100644 nuttx/libc/spawn/lib_psa_getschedpolicy.c create mode 100644 nuttx/libc/spawn/lib_psa_getsigdefault.c create mode 100644 nuttx/libc/spawn/lib_psa_getsigmask.c create mode 100644 nuttx/libc/spawn/lib_psa_init.c create mode 100644 nuttx/libc/spawn/lib_psa_setflags.c create mode 100644 nuttx/libc/spawn/lib_psa_setschedparam.c create mode 100644 nuttx/libc/spawn/lib_psa_setschedpolicy.c create mode 100644 nuttx/libc/spawn/lib_psa_setsigdefault.c create mode 100644 nuttx/libc/spawn/lib_psa_setsigmask.c diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 21f732c97..f6e9a41ba 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -1239,8 +1239,8 @@ svn checkout -r5447 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  • New top-level Makefiles: Makefile.unix and Makefile.win (along with numerous changes to other make-related files). - This adds basic support for building NuttX natively under Windows from a CMD.exe window (rather than in a POSIX-like environment). - This build: (1) Uses all Windows style paths, (2) Uses primarily Windows batch commands from CMD.exe, with (3) a few extensions from GNUWin32. + This adds basic support for building NuttX natively under from Windows console (rather than in a POSIX-like environment). + This build: (1) Uses all Windows style paths, (2) Uses primarily standard Windows batch commands with (3) a few additional commands from GNUWin32 (such as GNU make).

    This capability should still be considered a work in progress because: (1) It has not been verfied on all targets and tools, and (2) it still lacks some of the creature-comforts of the more mature environments (like a functional configure.sh script and make menuconfig support). @@ -3202,7 +3202,7 @@ avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports.

    - Build support has been added to support building natively in a Windes CMD.exe rather than in a POSIX-like environment. + Build support has been added to support building natively in a Windows console rather than in a POSIX-like environment.

    This build: @@ -3221,10 +3221,10 @@ avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports.