new_unprotected_default_platform

Function new_unprotected_default_platform 

Source
pub fn new_unprotected_default_platform(
    thread_pool_size: u32,
    idle_task_support: bool,
) -> UniqueRef<Platform>
Expand description

Creates a platform that is identical to the default platform, but does not enforce thread-isolated allocations. This may reduce security in some cases, so this method should be used with caution in cases where the threading guarantees of new_default_platform cannot be upheld (generally for tests).