Go to file
Bowen Wang 2f9c082f8f fs_epoll: serveral epoll issues fix
1. fs_epoll: try again when epoll_teardown() return 0
when poll_notify() called larger than twice when epoll_wait() blocked
in the eph->sem, the semcount will be larger than 1 when epoll_wait()
unblocked and will return 0 directly at the next epoll_wait.
So retry to wait the eph->sem again when epoll_teardown return 0.

2. fs_epoll: poll_setup the fd again even this fd got non-expected event
Some poll implementations need call poll_setup again when their internal
states changed (e.g., local socket), so should add the fd to the epoll
teardown list and poll_setup again at the next epoll_wait even this fd
got the user non-expected event.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2023-11-02 00:44:52 +08:00
.github build(deps): bump docker/build-push-action from 4 to 5 2023-09-18 13:33:40 +08:00
arch simwifi: Transfer the special characters in ssid. 2023-11-01 16:14:34 +01:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt sched/task: close file descriptor with O_CLOEXEC before active task or exec 2023-10-27 21:15:07 +08:00
boards sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +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 Documentation: fix warning 2023-10-30 20:29:54 +08:00
drivers usrsock_rpmsg_server: Keep msg order in recursive call 2023-11-01 10:14:18 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs_epoll: serveral epoll issues fix 2023-11-02 00:44:52 +08:00
graphics Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
include fs_epoll: serveral epoll issues fix 2023-11-02 00:44:52 +08:00
libs libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00
mm mm: Change global spinlock to per heap 2023-10-30 11:18:34 +02:00
net Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
openamp add remote poweroff support 2023-09-20 00:42:02 +08:00
pass1
sched sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
syscall Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tools Add CONFIG_EXPERIMENTAL for configure windows native 2023-10-31 09:03:02 +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
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.