Function binder_ndk_sys::AIBinder_setMinSchedulerPolicy

source ยท
pub unsafe extern "C" fn AIBinder_setMinSchedulerPolicy(
    binder: *mut AIBinder,
    policy: c_int,
    priority: c_int,
)
Expand description

Sets a minimum scheduler policy for all transactions coming into this AIBinder.

This must be called before the object is sent to another process. Aborts on invalid values. Not thread safe.

\param binder local server binder to set the policy for \param policy scheduler policy as defined in linux UAPI \param priority priority. [-20..19] for SCHED_NORMAL, [1..99] for RT