diff options
| author | 2025-02-14 18:06:17 -0800 | |
|---|---|---|
| committer | 2025-02-14 18:06:17 -0800 | |
| commit | 00ff628722f7382ce4b4f8305f9a8f0db529df1d (patch) | |
| tree | 24d5679f32ffef28592d226ab29957137f15e791 | |
| parent | f8f1906e129dda4ccccdeec156bf912b08586518 (diff) | |
| parent | 87e9e26510de8f67993af1457168814749287809 (diff) | |
Merge "libbinder_rs: disambiguate startThreadPool "recommendation"" into main am: b788606ca0 am: 87e9e26510
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3487390
Change-Id: I5b27c746d2a27b01a3b10ac638d5b473a7181abe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/binder/rust/src/state.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/binder/rust/src/state.rs b/libs/binder/rust/src/state.rs index c0cac830d7..609334eb53 100644 --- a/libs/binder/rust/src/state.rs +++ b/libs/binder/rust/src/state.rs @@ -28,8 +28,9 @@ impl ProcessState { /// `num_threads` additional threads as specified by /// [`set_thread_pool_max_thread_count`](Self::set_thread_pool_max_thread_count). /// - /// This should be done before creating any Binder client or server. If - /// neither this nor [`join_thread_pool`](Self::join_thread_pool) are + /// If this is called, it must be done before creating any Binder client or server. + /// + /// If neither this nor [`join_thread_pool`](Self::join_thread_pool) are /// called, then some things (such as callbacks and /// [`IBinder::link_to_death`](crate::IBinder::link_to_death)) will silently /// not work: the callbacks will be queued but never called as there is no |