Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
chenrun1 dba77ff043 fslock:Optimize the performance overhead caused by frequent close
Summary:
  Indicate whether the file is currently locked by adding a new field locked to filep.
    0 - Unlocked
    1 - Locked
  The status of the filep at close is used to determine whether to continue with the following procedure.

  Optimizing performance:
Before
  Time taken to close the file: 33984 nsec
After
  Time taken to close the file: 23744 nsec
Improvement of about 10 msec

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-22 01:54:22 +08:00
.github ISSUE_TEMPLATE: Fixed incorrect links for issue forms 2024-08-05 15:35:48 -03:00
Documentation pm: update document, add pm_idle interface for not-smp case 2024-08-21 23:19:50 +08:00
arch nuttx/atomic.h:Fix missing type declarations at compile time 2024-08-22 01:44:29 +08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
boards espressif: Fix MCUboot build on RISC-V and unify linker script 2024-08-21 23:28:45 +08:00
cmake cmake: fix invalid syntax when generating version.h from tags 2024-08-21 23:32:09 +08:00
crypto crypto: import the ability to clone session 2024-08-21 18:02:54 +08:00
drivers nuttx/atomic.h:replace ALL stdatomic.h with nuttx/stdatomic.h in nuttx/ 2024-08-22 01:44:29 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fslock:Optimize the performance overhead caused by frequent close 2024-08-22 01:54:22 +08:00
graphics video/vnc: add vnc_fb_register 2024-04-12 17:42:49 +08:00
include fslock:Optimize the performance overhead caused by frequent close 2024-08-22 01:54:22 +08:00
libs basename: return path address instead of "/" when path="/" 2024-08-22 01:50:37 +08:00
mm libc/execinfo: extract a common backtrace format function 2024-08-21 18:01:24 +08:00
net net:Fix the warnings. 2024-08-21 23:30:49 +08:00
openamp nuttx/atomic.h:replace ALL stdatomic.h with nuttx/stdatomic.h in nuttx/ 2024-08-22 01:44:29 +08:00
pass1 passl: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched sched/irq: correct critical section to spin lock 2024-08-22 01:39:29 +08:00
syscall fs:notify add support for inotify 2024-08-22 01:50:37 +08:00
tools simwifi: Add debug info and disable the wifi of networkmanager. 2024-08-21 23:36:26 +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 feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.gitignore build: untracked these two types of files 2024-08-18 19:38:44 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake:bugfix fix CMake post_build phase time orderless 2024-08-21 01:53:09 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md INVIOLABLES.md: Fix a simple alignment and change occurrences of Nuttx 2020-09-03 01:33:05 +08:00
Kconfig make/disassembly: generate disassembly file 2024-08-16 15:22:25 +08:00
LICENSE libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +08:00
Makefile tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
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.