Changeset 6c6a19e6 in mainline for test/thread/thread1/test.c


Ignore:
Timestamp:
2006-03-17T13:37:59Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f250f9
Parents:
bd72b475
Message:

Modified debugger to be able to coexist in AS watch mode and SMP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/thread/thread1/test.c

    rbd72b475 r6c6a19e6  
    4242static void threadtest(void *data)
    4343{
    44     while(1)
    45     {
    46         printf("%d\n",(int)(THREAD->tid));
    47         scheduler();
    48     }
     44        while(1)
     45        {
     46                while (1)
     47                        ;
     48                printf("%d\n",(int)(THREAD->tid));
     49                scheduler();
     50        }
    4951}
    5052
Note: See TracChangeset for help on using the changeset viewer.