Changeset 68a867ee for tests/locks.cfa
- Timestamp:
- Dec 17, 2020, 3:50:29 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 41cde266, dff1fd1
- Parents:
- b185ed2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/locks.cfa
rb185ed2 r68a867ee 179 179 done = false; 180 180 for (unsigned int i = 0; i < num_times/5; i++) { 181 if (i % 1000 == 0) printf(" !!%d\n", i);181 if (i % 1000 == 0) printf("Iteration: %d\n", i); 182 182 wait(c_s, 1`ns); 183 183 } … … 201 201 done = false; 202 202 for (unsigned int i = 0; i < num_times/5; i++) { 203 if (i % 1000 == 0) printf(" !!%d\n", i);203 if (i % 1000 == 0) printf("Iteration: %d\n", i); 204 204 lock(s); 205 205 wait(c_s, s, 1`ns);
Note: See TracChangeset
for help on using the changeset viewer.