Skip to main content

Crate dora_runtime_shared_lib

Crate dora_runtime_shared_lib 

Source
Expand description

Shared-library (C ABI) operator runtime backend.

Loads .so/.dll/.dylib operators via libloading and runs them on the dora_runtime_api event loop. Shipped inside the dora CLI and launched by the daemon as the dora runtime subcommand.

SharedLibRunner is public because the Python runtime embeds it too: a daemon that is itself an embedded Python process routes native operators to python -uc "import dora; dora.start_runtime()", so the wheel’s runtime has to be able to host them. See dora-runtime-python.

Structs§

SharedLibRunner
Backend hosting dora_init_operator/dora_on_event C-ABI operators.

Functions§

main
Runtime process entry point for shared-library operators.