Rev 1196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1196 | Rev 1658 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | static void e(void *data) |
78 | static void e(void *data) |
79 | { |
79 | { |
80 | int i; |
80 | int i; |
81 | double e,d,le,f; |
81 | double e,d,le,f; |
82 | 82 | ||
- | 83 | thread_detach(THREAD); |
|
- | 84 | ||
83 | waitq_sleep(&can_start); |
85 | waitq_sleep(&can_start); |
84 | 86 | ||
85 | for (i = 0; i<ATTEMPTS; i++) { |
87 | for (i = 0; i<ATTEMPTS; i++) { |
86 | le=-1; |
88 | le=-1; |
87 | e=0; |
89 | e=0; |
Line 106... | Line 108... | ||
106 | #ifdef __ia64_ARCH_H__ |
108 | #ifdef __ia64_ARCH_H__ |
107 | #undef PI_10e8 |
109 | #undef PI_10e8 |
108 | #define PI_10e8 3141592 |
110 | #define PI_10e8 3141592 |
109 | #endif |
111 | #endif |
110 | 112 | ||
- | 113 | ||
111 | int i; |
114 | int i; |
112 | double lpi, pi; |
115 | double lpi, pi; |
113 | double n, ab, ad; |
116 | double n, ab, ad; |
- | 117 | ||
- | 118 | thread_detach(THREAD); |
|
114 | 119 | ||
115 | waitq_sleep(&can_start); |
120 | waitq_sleep(&can_start); |
116 | 121 | ||
117 | 122 | ||
118 | for (i = 0; i<ATTEMPTS; i++) { |
123 | for (i = 0; i<ATTEMPTS; i++) { |