Shraal
Shraal

Reputation: 33

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?

Upvotes: 3

Views: 1022

Answers (1)

EyalBellisha
EyalBellisha

Reputation: 1914

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.

Upvotes: 3

Related Questions