Changeset 201abde in mainline for kernel/test/synch/rwlock3.c


Ignore:
Timestamp:
2007-04-07T20:06:52Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e58979
Parents:
6adbe3c2
Message:

make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/synch/rwlock3.c

    r6adbe3c2 r201abde  
    4646       
    4747        if (!sh_quiet)
    48                 printf("cpu%d, tid %d: trying to lock rwlock for reading....\n", CPU->id, THREAD->tid);
     48                printf("cpu%d, tid %llu: trying to lock rwlock for reading....\n", CPU->id, THREAD->tid);
    4949       
    5050        rwlock_read_lock(&rwlock);
     
    5252       
    5353        if (!sh_quiet) {
    54                 printf("cpu%d, tid %d: success\n", CPU->id, THREAD->tid);               
    55                 printf("cpu%d, tid %d: trying to lock rwlock for writing....\n", CPU->id, THREAD->tid);         
     54                printf("cpu%d, tid %llu: success\n", CPU->id, THREAD->tid);             
     55                printf("cpu%d, tid %llu: trying to lock rwlock for writing....\n", CPU->id, THREAD->tid);       
    5656        }
    5757
     
    6060       
    6161        if (!sh_quiet)
    62                 printf("cpu%d, tid %d: success\n", CPU->id, THREAD->tid);
     62                printf("cpu%d, tid %llu: success\n", CPU->id, THREAD->tid);
    6363       
    6464        atomic_dec(&thread_count);
Note: See TracChangeset for help on using the changeset viewer.