Changeset af67ee1 for tests/concurrent/mutexstmt/locks.cfa
- Timestamp:
- Aug 27, 2021, 12:51:55 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 1b97976c
- Parents:
- 9f5a19fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/mutexstmt/locks.cfa
r9f5a19fa raf67ee1 1 #include <mutex_stmt _locks.hfa>1 #include <mutex_stmt.hfa> 2 2 #include <locks.hfa> 3 3 … … 13 13 for (unsigned int i = 0; i < num_times; i++) { 14 14 mutex ( m1 ) count++; 15 mutex ( m1 ) { 15 mutex ( m1 ) { 16 16 assert(!insideFlag); 17 17 insideFlag = true; … … 65 65 printf("Start Test: single lock mutual exclusion\n"); 66 66 { 67 T_Mutex t[1 0];67 T_Mutex t[1]; 68 68 } 69 69 printf("End Test: single lock mutual exclusion\n");
Note: See TracChangeset
for help on using the changeset viewer.