Changeset 8d6d76a in mainline
- Timestamp:
- 2006-06-08T08:30:42Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4bc141c
- Parents:
- 616f1759
- Location:
- test
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
test/fpu/fpu1/test.c
r616f1759 r8d6d76a 81 81 double e,d,le,f; 82 82 83 thread_detach(THREAD); 84 83 85 waitq_sleep(&can_start); 84 86 … … 109 111 #endif 110 112 113 111 114 int i; 112 115 double lpi, pi; 113 116 double n, ab, ad; 117 118 thread_detach(THREAD); 114 119 115 120 waitq_sleep(&can_start); -
test/fpu/mips1/test.c
r616f1759 r8d6d76a 50 50 int arg __attribute__((aligned(16))) = (int)((__native) data); 51 51 int after_arg __attribute__((aligned(16))); 52 53 thread_detach(THREAD); 52 54 53 55 waitq_sleep(&can_start); … … 78 80 int arg __attribute__((aligned(16))) = (int)((__native) data); 79 81 int after_arg __attribute__((aligned(16))); 80 82 83 thread_detach(THREAD); 84 81 85 waitq_sleep(&can_start); 82 86 -
test/fpu/sse1/test.c
r616f1759 r8d6d76a 50 50 int arg __attribute__((aligned(16))) = (int)((__native) data); 51 51 int after_arg __attribute__((aligned(16))); 52 53 thread_detach(THREAD); 52 54 53 55 waitq_sleep(&can_start); … … 78 80 int arg __attribute__((aligned(16))) = (int)((__native) data); 79 81 int after_arg __attribute__((aligned(16))); 82 83 thread_detach(THREAD); 80 84 81 85 waitq_sleep(&can_start); -
test/mm/falloc2/test.c
r616f1759 r8d6d76a 58 58 __address * frames = (__address *) malloc(MAX_FRAMES * sizeof(__address), FRAME_ATOMIC); 59 59 ASSERT(frames != NULL); 60 61 thread_detach(THREAD); 60 62 61 63 for (run = 0; run < THREAD_RUNS; run++) { -
test/mm/slab1/test.c
r616f1759 r8d6d76a 113 113 int offs = (int)(__native) data; 114 114 int i,j; 115 115 116 thread_detach(THREAD); 117 116 118 printf("Starting thread #%d...\n",THREAD->tid); 117 119 for (j=0; j<10; j++) { -
test/mm/slab2/test.c
r616f1759 r8d6d76a 127 127 void *data=NULL, *new; 128 128 129 thread_detach(THREAD); 130 129 131 mutex_lock(&starter_mutex); 130 132 condvar_wait(&thread_starter,&starter_mutex); -
test/synch/rwlock2/test.c
r616f1759 r8d6d76a 45 45 void writer(void *arg) 46 46 { 47 48 thread_detach(THREAD); 49 47 50 printf("Trying to lock rwlock for writing....\n"); 48 51 -
test/synch/rwlock3/test.c
r616f1759 r8d6d76a 45 45 void reader(void *arg) 46 46 { 47 thread_detach(THREAD); 48 47 49 printf("cpu%d, tid %d: trying to lock rwlock for reading....\n", CPU->id, THREAD->tid); 48 50 rwlock_read_lock(&rwlock); -
test/synch/rwlock4/test.c
r616f1759 r8d6d76a 74 74 { 75 75 int rc, to; 76 thread_detach(THREAD); 76 77 waitq_sleep(&can_start); 77 78 … … 96 97 { 97 98 int rc, to; 99 thread_detach(THREAD); 98 100 waitq_sleep(&can_start); 99 101 -
test/synch/rwlock5/test.c
r616f1759 r8d6d76a 51 51 void writer(void *arg) 52 52 { 53 thread_detach(THREAD); 54 53 55 waitq_sleep(&can_start); 54 56 … … 60 62 void reader(void *arg) 61 63 { 64 thread_detach(THREAD); 65 62 66 waitq_sleep(&can_start); 63 67 -
test/synch/semaphore1/test.c
r616f1759 r8d6d76a 52 52 void producer(void *arg) 53 53 { 54 thread_detach(THREAD); 55 54 56 waitq_sleep(&can_start); 55 57 … … 62 64 void consumer(void *arg) 63 65 { 66 thread_detach(THREAD); 67 64 68 waitq_sleep(&can_start); 65 69 -
test/synch/semaphore2/test.c
r616f1759 r8d6d76a 68 68 { 69 69 int rc, to; 70 71 thread_detach(THREAD); 72 70 73 waitq_sleep(&can_start); 71 74 -
test/thread/thread1/test.c
r616f1759 r8d6d76a 42 42 static void threadtest(void *data) 43 43 { 44 45 thread_detach(THREAD); 46 44 47 while(1) 45 48 {
Note:
See TracChangeset
for help on using the changeset viewer.