Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/unified_locking/fast.cfa

    r07033ce r62006a3  
    2222uint32_t cs() {
    2323        $thread * me = active_thread();
    24         uint32_t value;
     24        uint32_t value = (uint32_t)me;
    2525        lock(mo.l);
    2626        {
     
    2828                mo.id = me;
    2929                yield(random(5));
    30                 value = ((uint32_t)random()) ^ ((uint32_t)me);
    3130                if(mo.id != me) sout | "Intruder!";
    3231                mo.sum = tsum + value;
Note: See TracChangeset for help on using the changeset viewer.