nuttx/include
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
arpa
cxx More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
net Squashed commit of the following: 2017-09-19 14:17:05 -06:00
netinet netinet/in.h: Add missing IN6_IS_ADDR_V4COMPAT macro. 2017-09-18 09:58:23 -06:00
netpacket Squashed commit of the following: 2017-08-19 08:48:52 -06:00
nuttx Squashed commit of the following: 2017-10-04 15:22:27 -06:00
sys syscall/: The non-standard interface exec() is now enshrined as a official NuttX API. I really dislike doing this but I think that this is probably the only want to load programs in the protected mode. It is currently used by some example code under apps/ that generate their own symbol tables for linking. Other file execution APIs relay on a symbol table provided by the OS. In the protected mode, the OS cannot provide any meaning symbol table for execution of code in the user-space blob so that is they exec() is really needed in that build case. And, finally, the interface is completely useless and will not be supported in the KERNEL build mode where the contrary is true: An application process cannot provide any meaning symbolic information for use in linking a different process. 2017-10-03 07:09:35 -06:00
.gitignore
aio.h
assert.h assert: Don't define static_assert in C++ 2016-06-21 07:17:29 -04:00
crc8.h
crc16.h
crc32.h
crc64.h More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
ctype.h Costmetic changes 2016-10-24 16:18:30 -06:00
debug.h Add power-related debug output 2017-07-23 07:17:56 -06:00
dirent.h Remove some unnecessary (and inappropriate) soft link logic 2017-02-03 15:50:41 -06:00
dllfcn.h Shared libraries: Add a non-standard dllfnc.h function to set the symbol table. 2017-01-23 08:20:24 -06:00
elf32.h
errno.h Update errno values. Add new values; remove obsolete values 2017-03-26 09:22:00 -06:00
fcntl.h
fixedmath.h fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
hex2bin.h libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
inttypes.h C library: Add strtoimax and strtoumax. 2017-02-16 15:12:37 -06:00
libgen.h In dlopen(), use the basename of the file as the module name 2017-01-22 16:01:03 -06:00
limits.h stat(): Add logic to avoid infinite recursive in circular paths containing soft links. 2017-02-07 12:32:45 -06:00
locale.h locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
mqueue.h
netdb.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
nxflat.h
poll.h
pthread.h pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
queue.h Add utilities to count the number of nodes in a queue 2016-04-23 13:25:46 -06:00
sched.h Add task_testcancel() 2016-12-10 16:34:14 -06:00
semaphore.h sem_open() should return SEM_FAILED on any failures. This is change change in the POSIX specification since the original sem_open() was written so many years ago. 2017-09-08 10:14:51 -06:00
signal.h include/cxx: Update some C++ header files due to recent changes to C hader files 2016-08-25 15:06:46 -06:00
spawn.h Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
stdbool.h
stddef.h Remove comments that no longer apply. clocale should not do anyting if CONFIG_LIBC_LOCALE is not defined. 2016-10-19 07:06:43 -06:00
stdint.h
stdio.h C Library: Add setbuf() which is a trivial wrapper around setvbuf(). 2017-02-09 15:04:53 -06:00
stdlib.h libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
stdnoreturn.h stdnoreturn.h: remove C++11 dependency. Applies to C too. 2017-10-02 07:38:43 -06:00
string.h Add entropy pool and strong random number generator 2017-03-30 07:38:37 -06:00
strings.h Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's __builtin_ctz/__builtin_clz for faster implementation of these 2017-03-24 09:41:31 -06:00
syscall.h
syslog.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
termios.h termios.h: Fix CRTSCTS define to include input and output flow 2016-12-26 07:41:44 -06:00
threads.h
time.h Updata difftime. Add a version of difftime for the case where the platform does not support type double 2016-08-25 08:00:50 -06:00
unistd.h C library: Add swab() 2017-02-16 14:42:27 -06:00
wchar.h More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
wctype.h wctype.h needs extern C 2017-02-17 09:48:55 -06:00