Changeset 68a867ee for tests/locks.cfa


Ignore:
Timestamp:
Dec 17, 2020, 3:50:29 PM (4 years ago)
Author:
Colby Alexander Parsons <caparsons@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
41cde266, dff1fd1
Parents:
b185ed2
Message:

changed print statement for more clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/locks.cfa

    rb185ed2 r68a867ee  
    179179        done = false;
    180180        for (unsigned int i = 0; i < num_times/5; i++) {
    181                 if (i % 1000 == 0) printf("!! %d\n", i);
     181                if (i % 1000 == 0) printf("Iteration: %d\n", i);
    182182                wait(c_s, 1`ns);
    183183        }
     
    201201        done = false;
    202202        for (unsigned int i = 0; i < num_times/5; i++) {
    203                 if (i % 1000 == 0) printf("!! %d\n", i);
     203                if (i % 1000 == 0) printf("Iteration: %d\n", i);
    204204                lock(s);
    205205                wait(c_s, s, 1`ns);
Note: See TracChangeset for help on using the changeset viewer.