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

Commit 97f11f6b authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: doc giveThreadPoolName

Change-Id: I8040e8064907c7283edb78d04e965cad609f3a99
Fixes: 266792385
Test: N/A
parent e58d88c6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -64,6 +64,11 @@ public:
    // For main functions - dangerous for libraries to use
    status_t setThreadPoolMaxThreadCount(size_t maxThreads);
    status_t enableOnewaySpamDetection(bool enable);

    // Set the name of the current thread to look like a threadpool
    // thread. Typically this is called before joinThreadPool.
    //
    // TODO: remove this API, and automatically set it intelligently.
    void giveThreadPoolName();

    String8 getDriverName();