Function android_looper_sys::ALooper_acquire [] [src]

pub unsafe extern fn ALooper_acquire(looper: *mut ALooper)

Acquire a reference on the given ALooper object. This prevents the object from being deleted until the reference is removed. This is only needed to safely hand an ALooper from one thread to another.