Changeset 280a27e in mainline for test/synch/rwlock5/test.c


Ignore:
Timestamp:
2006-04-16T13:16:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50de918
Parents:
c624b96
Message:

Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/synch/rwlock5/test.c

    rc624b96 r280a27e  
    9292                writers = (4-i)*WRITERS;
    9393
    94                 printf("Creating %d readers and %d writers...", readers, writers);
     94                printf("Creating %ld readers and %ld writers...", readers, writers);
    9595               
    9696                for (j=0; j<(READERS+WRITERS)/2; j++) {
     
    117117       
    118118                while (items_read.count != readers || items_written.count != writers) {
    119                         printf("%d readers remaining, %d writers remaining, readers_in=%d\n", readers - items_read.count, writers - items_written.count, rwlock.readers_in);
     119                        printf("%zd readers remaining, %zd writers remaining, readers_in=%zd\n", readers - items_read.count, writers - items_written.count, rwlock.readers_in);
    120120                        thread_usleep(100000);
    121121                }
Note: See TracChangeset for help on using the changeset viewer.