Changeset 8f1a99e for tests/concurrent/semaphore.cfa
- Timestamp:
- Jul 5, 2021, 4:58:07 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b7d94ac5
- Parents:
- 7f62b708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/semaphore.cfa
r7f62b708 r8f1a99e 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.