summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-14 17:19:38 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-14 17:19:38 -0800
commitb788606ca04c99d9ab5185e3907698539f5d08d7 (patch)
treebf3a684e8e7f8c5040157bc460fde1f5415b9a51
parente22a90373cd92aa5429d1318a6d3005609e8ab9f (diff)
parent79afc744017bd0e060c9629044e331fc1f4cd74c (diff)
Merge "libbinder_rs: disambiguate startThreadPool "recommendation"" into main
-rw-r--r--libs/binder/rust/src/state.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/binder/rust/src/state.rs b/libs/binder/rust/src/state.rs
index 8a06274e9c..145ae651d7 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