Common: Replace ExecutionBarrier with std::promise and std::future
* std::promise and std::future are able to achieve the same functionalities of ExecutionBarrier with extra flexibility * Replace "_barrier" with "_promise" in system/bt/common Bug: 110303473 Fixes: 112159657 Test: mm -j40, unit test Change-Id: I2a420bbf16bf92e4b3dd256d9f23480fc2be7be1
Showing
- system/common/Android.bp 0 additions, 2 deletionssystem/common/Android.bp
- system/common/benchmark/thread_performance_benchmark.cc 69 additions, 51 deletionssystem/common/benchmark/thread_performance_benchmark.cc
- system/common/execution_barrier.cc 0 additions, 38 deletionssystem/common/execution_barrier.cc
- system/common/execution_barrier.h 0 additions, 70 deletionssystem/common/execution_barrier.h
- system/common/execution_barrier_unittest.cc 0 additions, 95 deletionssystem/common/execution_barrier_unittest.cc
- system/common/message_loop_thread.cc 10 additions, 12 deletionssystem/common/message_loop_thread.cc
- system/common/message_loop_thread.h 5 additions, 6 deletionssystem/common/message_loop_thread.h
- system/common/message_loop_thread_unittest.cc 34 additions, 43 deletionssystem/common/message_loop_thread_unittest.cc
- system/common/test/thread_performance_test.cc 41 additions, 31 deletionssystem/common/test/thread_performance_test.cc
Loading
Please register or sign in to comment