nuttx/include
Gregory Nutt 7deb24484c This comment converts the underlying IPC used by the UserFS from Unix domain local sockets to UDP LocalHost loopback sockets. The problem with the local sockets is that they do require operations on the top level psuedo-file system inode tree. That tree must be locked during certain traversals such as enumerate mountpoints or enumerating directory entries.
This conversion is unfortunate in the sense that Unix local domain sockets are relatively lightweight.  LocalHost UDP sockets are much heavier weight since they rely on the full UDP stack.  If anyone is up for a complete redesign, then using some shared memory and a POSIX message queue would be lightweight again.

This commit also fixes several bugs that were not testable before the inode tree deadlock.  I cannot say that the logic is 100% stable but it does not have basic functionality.

Squashed commit of the following:

    fs/userfs:  Order locking so that access to the shared I/O buffer is also locked.
    fs/userfs:  Converts to use LocalHost UDP loopback for IPC.
2017-11-05 12:25:58 -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 This commit adds support for semi-standard IPPROTO_ICMP6 sockets. This is a replacement for the non-standard ICMPv6 ping support that violated the portable POSIX OS interface. 2017-10-24 11:23:08 -06:00
netpacket Squashed commit of the following: 2017-08-19 08:48:52 -06:00
nuttx This comment converts the underlying IPC used by the UserFS from Unix domain local sockets to UDP LocalHost loopback sockets. The problem with the local sockets is that they do require operations on the top level psuedo-file system inode tree. That tree must be locked during certain traversals such as enumerate mountpoints or enumerating directory entries. 2017-11-05 12:25:58 -06:00
sys Cosmetic change. 2017-11-01 13:57:07 -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 SDCC Fixes: Change some prototypes and some assumptions about the size of unsigned int to get to a clean SDCC compile. 2017-10-08 08:50:18 -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