Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/spinaphore.cfa

    r8f1a99e r84cd72d  
    2121void main(Blocker & this);
    2222
    23 Blocker * from_thread(thread$ * t) {
     23Blocker * from_thread($thread * t) {
    2424        Blocker & nullb = *(Blocker*)0p;
    25         thread$ & nullt = (thread&)nullb;
     25        $thread & nullt = (thread&)nullb;
    2626        uintptr_t offset  = (uintptr_t)&nullt;
    2727        uintptr_t address = ((uintptr_t)t) - offset;
     
    3030
    3131void main(Blocker & this) {
    32         thread$ * me = active_thread();
     32        $thread * me = active_thread();
    3333        Blocker * me1 = &this;
    3434        Blocker * me2 = from_thread(me);
     
    5151        unsigned me = (unsigned)(uintptr_t)&this;
    5252        for(num_unblocks) {
    53                 thread$ * t = V(sem, false);
     53                $thread * t = V(sem, false);
    5454                Blocker * b = from_thread(t);
    5555                b->sum += me;
Note: See TracChangeset for help on using the changeset viewer.