Function ctru_sys::srvSetBlockingPolicy
source · pub unsafe extern "C" fn srvSetBlockingPolicy(nonBlocking: bool)
Expand description
Makes srvGetServiceHandle non-blocking for the current thread (or blocking, the default), in case of unavailable (full) requested services.
§Arguments
blocking
- Whether srvGetServiceHandle should be non-blocking. srvGetServiceHandle will always block if the service hasn’t been registered yet, use srvIsServiceRegistered to check whether that is the case or not.