Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Android's Binder implementation always non-blocking for "void method"-calls without parameters?

Will IPC "void method"-calls without any parameters block the current thread/process? Or will the kernel just pause the caller-process/thread until the call finishes because the called process may do further IPC callbacks?

like image 450
Shraal Avatar asked Oct 19 '25 03:10

Shraal


1 Answers

No, depends on the definition of the specific AIDL declaration of the function. If the AIDL defines the function as one way, then it's non-blocking, otherwise it's blocking.

like image 122
EyalBellisha Avatar answered Oct 22 '25 07:10

EyalBellisha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!