Skip to main content

Module module

Module module 

Source
Expand description

Shared, ref-counted app module handle (NvAppModule) for multi-surface execution.

Opening N surfaces for the same app cdylib stages and dlopens the library once per reload generation (staged_loads == 1) so every surface shares the exact same Rust statics, SharedAtom<T>s, and allocator while unloading cleanly once the last surface detaches.

Structsยง

NvAppModule
Ref-counted handle to one loaded app module generation (Arc<StagedDylib> or static NvGetInterfaceFn).