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

Commit c8681f8a authored by Xiang Wang's avatar Xiang Wang
Browse files

Add a comment on thread-safety for NDK

This keeps it consistent with the SDK doc.

Bug: 332253611
Test: n/a
Change-Id: I988f9be7eb37ac1d57edd403dc30f0e17e2b2db3
parent 19692ed7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -114,6 +114,9 @@ typedef struct APerformanceHintManager APerformanceHintManager;
 * API, the client is expected to call {@link APerformanceHint_reportActualWorkDuration} each
 * cycle to report the actual time taken to complete to the system.
 *
 * Note, methods of {@link APerformanceHintSession_*} are not thread safe so callers must
 * ensure thread safety.
 *
 * All timings should be from `std::chrono::steady_clock` or `clock_gettime(CLOCK_MONOTONIC, ...)`
 */
typedef struct APerformanceHintSession APerformanceHintSession;