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
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
debug.h Add power-related debug output 2017-07-23 07:17:56 -06:00
dirent.h
dllfcn.h
elf32.h
errno.h
fcntl.h
fixedmath.h fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
hex2bin.h
inttypes.h
libgen.h
limits.h
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
queue.h
sched.h
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
spawn.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdlib.h
stdnoreturn.h stdnoreturn.h: remove C++11 dependency. Applies to C too. 2017-10-02 07:38:43 -06:00
string.h
strings.h
syscall.h
syslog.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
termios.h
threads.h
time.h
unistd.h
wchar.h More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
wctype.h