Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79afc744 authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent a5f7d9f7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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