forked from ARM-software/synchronization-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lockhammer: Assign thread affinity prior to creation
Set thread affinity to a particular hardware thread prior to thread creation. This creates a potential disconnect between the start order and the cpu on which the thread is running necessitating some changes to the synchronized start code and the addition of a core number thread argument in order to correctly index per-cpu variables inside the locks algorithms. Fixes ARM-software#16 Change-Id: Ia27d70e7d2875637a4ef1514e61636fc1b662698
- Loading branch information
Lucas Crowthers
committed
May 14, 2018
1 parent
12b45f8
commit aee8ca9
Showing
2 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters