Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/spinaphore.cfa

    rc51124b r31fc80f  
    3636        this.sum = 0;
    3737        for(num_blocks) {
    38                 // sout | "b P" | me;
    3938                P(sem);
    4039                if(((thread&)this).seqable.next != 0p) sout | "Link not invalidated";
    41                 // sout | "a P" | me;
    4240        }
    4341}
     
    5856                this.sum += (unsigned)b;
    5957                unpark(t);
    60                 // sout | "a V" | t;
    6158                yield(random(10));
    6259        }
Note: See TracChangeset for help on using the changeset viewer.