Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
chao an d468ff3eeb sched/group: set clear flag if the group is not really needed
The delete flag is not synchronized with the life cycle of the group,
if the flag set before waitpid(), the tcb will be mistakenly deleted
by group_del_waiter(), use-after-free will happen.

Regression by:
| commit 29e50ffa73 (origin/master, origin/HEAD)
| Author: chao an <anchao@lixiang.com>
| Date:   Mon Mar 4 09:19:27 2024 +0800
|
|     sched/group: move task group into task_tcb_s to improve performance
|
|     move task group into task_tcb_s to avoid access allocator to improve performance
|
|     for Task Termination, the time consumption will be reduced ~2us (Tricore TC397 300MHZ):
|     15.97(us) -> 13.55(us)
|
|     Signed-off-by: chao an <anchao@lixiang.com>

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-11 13:58:25 +09:00
.github ci: Remove the codecheck from build.yml 2024-02-29 18:54:41 -03:00
Documentation board/stm32f401rc-rs485: Add support to PWM/DAC 2024-03-11 10:11:45 +08:00
arch SAMV7: fix typos in Kconfig PWM0 fault input selections - inv. polarity 2024-03-09 18:32:58 -03:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt binfmt/task/member: remove invaild membership reverse 2024-03-07 22:53:19 +08:00
boards board/stm32f401rc-rs485: Add support to PWM/DAC 2024-03-11 10:11:45 +08:00
cmake build/cmake: fix empty BASE_DEFCONFIG string 2024-02-28 10:58:52 +01:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
drivers sensors: add uorb support for lsm9ds1 2024-03-09 11:53:57 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs sched/group: change type of task group member to single queue 2024-03-07 12:39:29 +08:00
graphics poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
include sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
libs fdcheck: Enable fdcheck to automatically detect ownership of fd 2024-03-07 09:08:48 +08:00
mm Revert "fix variable set but not used" 2024-02-21 21:29:48 -08:00
net net/local: Fix the wrong direction of threshold setting 2024-03-10 11:44:33 -03:00
openamp openamp: Fix void pointer arithmetic in openamp to remove compilation warnings 2024-02-12 17:06:33 +01:00
pass1
sched sched/group: set clear flag if the group is not really needed 2024-03-11 13:58:25 +09:00
syscall sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
tools tools/minidumpserver.py: add support for rv64 2024-03-10 21:25:00 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml
.gitignore fs/vfat: Fix typo in the macro DIRSEC_BYTENDX 2024-02-03 12:46:08 -03:00
.yamllint
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt Use C++ standard lib from toolchain 2024-03-06 08:42:44 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig rpmsg/debug: add debug configs and macros 2024-02-15 19:53:55 -08:00
LICENSE api: add simple hashtable api 2024-02-21 13:29:36 -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

README.md

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.