pub fn get_spawn_driver() -> &'static dyn DriverAvailable on crate feature
task only.Expand description
Get the globally registered instance of syscall::Driver.
If the feature “futures-spawn” is enabled, this function will create a default
instance of “SpawnDriver” based on the futures::executor::ThreadPool implementation,
otherwise you should call [register_ spawn_driver] to register your own implementation
instance.