[][src]Function procspawn::assert_spawn_is_safe

pub unsafe fn assert_spawn_is_safe()

Asserts no shared libraries are used for functions spawned.

If the safe-shared-libraries feature is disabled this function must be called once to validate that the application does not spawn functions from a shared library.

This must be called once before the first call to a spawn function as otherwise they will panic.

Safety

You must only call this function if you can guarantee that none of your spawn calls cross a shared library boundary.