diff options
author | Annie Meng <anniemeng@google.com> | 2019-01-03 17:16:58 +0000 |
---|---|---|
committer | Annie Meng <anniemeng@google.com> | 2019-01-04 12:33:29 +0000 |
commit | 180e51535c2c56e87d90b6bf36caefc48ecff4e8 (patch) | |
tree | 22946e3f9d1b8a35273598440308cd9a6f6ea986 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | c54ffd28f7efa82054ebc4443c7c6a396e07ddd6 (diff) |
[Multi-user] Make each user have their own backup thread
The original backup thread is now only used by Trampoline and BMS for
general non-user specific operations. Each UserBMS instance has its own
'backup-[user id]' thread to allow for parallelism between users. When a
user is stopped, we quit this thread.
Bug: 121305979
Test: 1) atest RunBackupFrameworksServicesRoboTests
2) Start system user -> verify backup-0 thread created;
Start secondary user -> verify backup-10 thread created;
Stop secondary user -> verify backup-10 thread stopped;
Verify work posted to the thread is executed (register transports, bmgr
backupnow, etc.)
Change-Id: Iaa37fb3e2eb442653e27565ca13a88a0582efa9d
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions