Changeset 6ff08d8 for tests/concurrent/semaphore.cfa
- Timestamp:
- Jul 12, 2021, 1:44:35 PM (3 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/semaphore.cfa
rcf444b6 r6ff08d8 22 22 23 23 void main(Blocker & this) { 24 $thread* me = active_thread();24 thread$ * me = active_thread(); 25 25 this.sum = 0; 26 26 for(num_blocks) { … … 45 45 or else {} 46 46 47 $thread* t = V(ben, false);47 thread$ * t = V(ben, false); 48 48 if(t) { 49 49 this.sum += (unsigned)t;
Note: See TracChangeset
for help on using the changeset viewer.