Changeset 6ff08d8 for tests/unified_locking
- Timestamp:
- Jul 12, 2021, 1:44:35 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 605673f, 9345684
- Parents:
- cf444b6 (diff), a953c2e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests/unified_locking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/unified_locking/mcs.cfa
rcf444b6 r6ff08d8 7 7 struct MutexObj { 8 8 mcs_lock l; 9 $thread* id;9 thread$ * id; 10 10 size_t sum; 11 11 }; … … 21 21 22 22 unsigned cs() { 23 $thread* me = active_thread();23 thread$ * me = active_thread(); 24 24 unsigned value = (unsigned)me; 25 25 mcs_node n; -
tests/unified_locking/thread_test.cfa
rcf444b6 r6ff08d8 69 69 break; 70 70 default: 71 break; 71 break; 72 72 } 73 73 processor p[threadCount];
Note: See TracChangeset
for help on using the changeset viewer.