Skip to content

Commit 79afc74

Browse files
author
Steven Moreland
committed
libbinder_rs: disambiguate startThreadPool "recommendation"
This is only required for processes that want multiple threads, and this takes more resources than a single thread. Bug: N/A Test: N/A Change-Id: I1131be291dfbcb13fad1b6d4a6e33697812cbd5b
1 parent a5f7d9f commit 79afc74

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

libs/binder/rust/src/state.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ impl ProcessState {
2828
/// `num_threads` additional threads as specified by
2929
/// [`set_thread_pool_max_thread_count`](Self::set_thread_pool_max_thread_count).
3030
///
31-
/// This should be done before creating any Binder client or server. If
32-
/// neither this nor [`join_thread_pool`](Self::join_thread_pool) are
31+
/// If this is called, it must be done before creating any Binder client or server.
32+
///
33+
/// If neither this nor [`join_thread_pool`](Self::join_thread_pool) are
3334
/// called, then some things (such as callbacks and
3435
/// [`IBinder::link_to_death`](crate::IBinder::link_to_death)) will silently
3536
/// not work: the callbacks will be queued but never called as there is no

0 commit comments

Comments
 (0)