Mercurial > flash_v2
comparison packages/kernel/current/tests/tm_basic.cxx @ 4:1d7f19c9e4d1 ecos-sw-1999-05-11
Merge from eCos master repository on 1999-05-11-21:11:10-BST
| author | jlarmour |
|---|---|
| date | Tue, 11 May 1999 14:07:25 +0000 |
| parents | 443894e2e912 |
| children | ece80412419a |
comparison
equal
deleted
inserted
replaced
| 3:69e820d8bae1 | 4:1d7f19c9e4d1 |
|---|---|
| 67 cyg_uint32 start; | 67 cyg_uint32 start; |
| 68 cyg_uint32 end; | 68 cyg_uint32 end; |
| 69 } fun_times; | 69 } fun_times; |
| 70 | 70 |
| 71 #define NSAMPLES 32 | 71 #define NSAMPLES 32 |
| 72 #define NTEST_THREADS 24 | 72 #define NTEST_THREADS 16 |
| 73 #define NTHREAD_SWITCHES 128 | 73 #define NTHREAD_SWITCHES 128 |
| 74 #define NMUTEXES 32 | 74 #define NMUTEXES 32 |
| 75 #define NMBOXES 32 | 75 #define NMBOXES 32 |
| 76 #define NSEMAPHORES 32 | 76 #define NSEMAPHORES 32 |
| 77 #define NSCHEDS 128 | 77 #define NSCHEDS 128 |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 new_thread(run_all_tests, 0); | 1571 new_thread(run_all_tests, 0); |
| 1572 | 1572 |
| 1573 Cyg_Scheduler::scheduler.start(); | 1573 Cyg_Scheduler::scheduler.start(); |
| 1574 | |
| 1574 } | 1575 } |
| 1575 | 1576 |
| 1576 externC void | 1577 externC void |
| 1577 cyg_start( void ) | 1578 cyg_start( void ) |
| 1578 { | 1579 { |
