Browse Source
Merge pull request #4832 from bunnei/cpu-manager-microprofile-fix
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/core/cpu_manager.cpp
|
|
@ -365,6 +365,8 @@ void CpuManager::RunThread(std::size_t core) { |
|
|
data.enter_barrier.reset(); |
|
|
data.enter_barrier.reset(); |
|
|
data.exit_barrier.reset(); |
|
|
data.exit_barrier.reset(); |
|
|
data.initialized = false; |
|
|
data.initialized = false; |
|
|
|
|
|
|
|
|
|
|
|
MicroProfileOnThreadExit(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} // namespace Core
|
|
|
} // namespace Core
|