Go to file
Ville Juven 57de6484e9 task/pthread_cancelpt: Fix task_delete from another task group
PR #11165 causes an unnecessary regression; task_delete no longer works,
if the deleted task is from another group.

The logic that prevents this comes from:

nxnotify_cancellation() ->
tls_get_info_pid() ->
nxsched_get_stackinfo()

Which checks for permissions, which does not make sense in this case since
it is the kernel asking for the stack information.

Fix this by partially reverting 11165 and implementing a direct path for
the kernel to query for any tasks TLS.
2023-11-22 08:05:58 -08:00
.github build(deps): bump docker/build-push-action from 4 to 5 2023-09-18 13:33:40 +08:00
arch risc-v/mpfs: ihc: cleanup DEBUGASSERTs and irq enabling 2023-11-22 08:05:36 -08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
boards sched_lock refine: remove sched_[un]lock in xxx_waitsample 2023-11-21 20:03:43 -08:00
cmake cmake:fix invalid configs when export defconfig and .config 2023-08-29 09:51:20 +08:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
Documentation boards: add support for ODrive V3.6 board 2023-11-18 17:07:20 -08:00
drivers video/fb: move wdog from fb_chardev_s to fb_paninfo_s 2023-11-22 02:01:20 -08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs sched/taskspawn: fix spawn fail if enable FDCHECK 2023-11-22 16:05:36 +01:00
graphics poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
include task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
libs task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
mm mm: free delay list when exceeding specified count 2023-11-15 12:05:20 +01:00
net poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
openamp openamp/libmetal: aligned io read/write when size=1,2,3,4 2023-11-17 09:42:52 +01:00
pass1
sched task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
syscall task/pthread_cancelpt: Move cancel point handling to libc, data to TLS 2023-11-15 08:52:04 -08:00
tools tcbinfo:remove total_num form tcbinfo. 2023-11-21 21:52:24 -08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless wireless/bluetooth: Add option to set the HCI TX thread affinity 2023-10-24 22:41:44 +08:00
.asf.yaml
.gitignore tools/ci: migrate some ci build configurations to CMake 2023-07-15 23:32:36 +08:00
.yamllint
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake: correct cmake rule file name 2023-10-21 11:00:27 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig debug/assert: decouple configuration of show file name feature 2023-10-20 02:22:48 +08:00
LICENSE libc: Remove the unused lib_libdtoa.c 2023-10-23 20:06:34 -03:00
Makefile tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +08:00
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.