AIBinder_setMinRpcThreads

Function AIBinder_setMinRpcThreads 

Source
pub unsafe extern "C" fn AIBinder_setMinRpcThreads(
    binder: *mut AIBinder,
    min: u16,
) -> binder_status_t
Expand description

Set the minimum number of RPC threads required to service this binder.

This value is used to ensure there are enough threads for the RPC binder connections.

This is not related to the ProcessState binder threadpool.

\param binder the local AIBinder (ABBinder) to set this minimum on. \param min number of threads required to service the binder, must be at least 1

\return STATUS_UNEXPECTED_NULL if binder is nullptr STATUS_BAD_VALUE if min is 0 STATUS_OK otherwise