incubator-nuttx/include
Gregory Nutt e24f281401 This commit adds a new internal interfaces and fixes a problem with three APIs in the SMP configuration. The new internal interface is sched_cpu_pause(tcb). This function will pause a CPU if the task associated with 'tcb' is running on that CPU. This allows a different CPU to modify that OS data stuctures associated with the CPU. When the other CPU is resumed, those modifications can safely take place.
The three fixes are to handle cases in the SMP configuration where one CPU does need to make modifications to TCB and data structures on a task that could be running running on another CPU.  Those three cases are task_delete(), task_restart(), and execution of signal handles.  In all three cases the solutions is basically the same:  (1) Call sched_cpu_pause(tcb) to pause the CPU on which the task is running, (2) perform the necessary operations, then (3) call up_cpu_resume() to restart the paused CPU.
2016-11-20 07:57:18 -06:00
..
arpa
cxx Back out the rest of commit 1e754402b8. Newlib support will not be accepted into the NuttX repository. 2016-11-03 09:41:38 -06:00
net
netinet Add a definition and a comment 2016-09-07 09:38:33 -06:00
netpacket
nuttx Update TODO list 2016-11-19 13:23:15 -06:00
sys sem_getprotocol() can be in C library 2016-11-02 09:29:16 -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 crc64: fix error 2016-06-10 12:30:45 -04:00
ctype.h Costmetic changes 2016-10-24 16:18:30 -06:00
debug.h Replaces last three commits. Does the same thing, but does it in a way that does not change the usage model. 2016-06-21 05:26:08 -06:00
dirent.h
elf32.h
errno.h
fcntl.h
fixedmath.h
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 Add architecture-specific inttypes.h 2016-10-27 16:01:38 -04:00
libgen.h
limits.h
locale.h Allows c++ code to compile with or without CONFIG_LIBC_LOCALE 2016-10-19 06:49:19 -10:00
mqueue.h
netdb.h
nxflat.h
poll.h
pthread.h Update TODO. Provide do-nothing stubs for mutex attribute interfaces if features not enabled. pthread_cond includes a signaling semaphore and should call sem_setprotocol. 2016-11-05 11:06:52 -06:00
queue.h
sched.h This commit adds a new internal interfaces and fixes a problem with three APIs in the SMP configuration. The new internal interface is sched_cpu_pause(tcb). This function will pause a CPU if the task associated with 'tcb' is running on that CPU. This allows a different CPU to modify that OS data stuctures associated with the CPU. When the other CPU is resumed, those modifications can safely take place. 2016-11-20 07:57:18 -06:00
semaphore.h Semaphores: Provide macros for sem_setprotobol() and sem_getprotocol() if priority inheritance is not enabled. More SEM_PRIO_* definitions to include/nuttx/semaphore.h 2016-11-02 18:21:46 -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 stdio: Add support for remove() 2016-08-25 08:40:34 -06:00
stdlib.h Add strtold() 2016-10-22 13:02:55 -06:00
string.h Add functions wcrtomb, wcslcpy, wcsxfrm, wctob, wctomb, wctype, localeconv, strcoll, strxfrm 2016-10-18 18:15:54 -06:00
syscall.h
syslog.h Add a file that I forgot in the last commit; Also update some comments. 2016-06-21 13:33:17 -06:00
termios.h isatty() should be prototypes in unstid.h, not termios.h. 2016-08-24 10:25:09 -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 isatty() should be prototypes in unstid.h, not termios.h. 2016-08-24 10:25:09 -06:00
wchar.h Fix a few more compile issues with the new wide character support 2016-10-19 08:18:46 -06:00
wctype.h Fix a few more compile issues with the new wide character support 2016-10-19 08:18:46 -06:00