nuttx/Documentation
Marco Casaroli 58e227a8a5 Documentation: Document dlopen() reference counting.
Describe the shared library open semantics in the FLAT and PROTECTED
builds: dlopen() of a library that is already loaded returns a handle
to it and takes an additional reference, and the library is unloaded
only when the last handle is closed.  Note the consequences that follow
from having a single instance: libraries are matched by basename, data
is shared by all users, and constructors and destructors run once.

Contrast this with insmod(), which still rejects a duplicate module
name, and note that dlopen() is not implemented in the KERNEL build.

Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-08-04 11:12:49 -03:00
..
_extensions
_static
_templates
applications Documentation/applications/games/nxdoom: document the display options 2026-08-04 10:30:04 +08:00
components Documentation: describe FS permission interface and mount-crossing 2026-08-02 18:48:40 -03:00
contributing
debugging
faq
guides arch/arm/src/stm32: unify pulse count driver into common/stm32 2026-07-12 09:35:51 +08:00
implementation Documentation: Document dlopen() reference counting. 2026-08-04 11:12:49 -03:00
introduction
logos
platforms Documentation/applications/games/nxdoom: document the display options 2026-08-04 10:30:04 +08:00
quickstart Documentation: fill in pass1 directory description in organization.rst 2026-07-06 10:18:42 -03:00
reference
ReleaseNotes Documentation: add NuttX 13.0.0 release notes 2026-06-25 19:50:07 +08:00
standards
testing ci: Support pull request dependencies via Depends-On. 2026-08-01 20:26:14 +08:00
.gitignore
conf.py
glossary.rst
index.rst
known-warnings.txt
legacy_README.md
make.bat
Makefile
Pipfile
Pipfile.lock
security.rst
substitutions.rst