Implementation of the Process interface from DMOSI (DMOD OS Interface).
dmosi-proc is a C static library that provides an implementation of the process management interface defined by the DMOSI specification. It integrates with the DMOD framework and is intended for use in modular embedded or OS-like systems.
- Process creation and destruction – create named processes associated with a module, with optional parent process linking
- Process lifecycle management – kill a process (terminating all its threads) or wait for it to terminate
- Process properties – get and set process name, ID, UID, module name, working directory, state, and exit status
- Process lookup – find a running process by name or by process ID
- Thread integration – automatically manages threads associated with a process during kill and destroy operations
This project uses CMake (≥ 3.10) and fetches its dependencies automatically via FetchContent.
cmake -B build -DDMOSI_PROC_BUILD_TESTS=ON
cmake --build build
ctest --test-dir buildTo build without tests:
cmake -B build
cmake --build buildBoth are fetched automatically during the CMake configure step.
See LICENSE.