153 //PR_SetFDCacheSize(0, maxPRFdCache); |
152 //PR_SetFDCacheSize(0, maxPRFdCache); |
154 // </WORKAROUND> |
153 // </WORKAROUND> |
155 } |
154 } |
156 |
155 |
157 NSAPI_PUBLIC void systhread_dummy(void) { |
156 NSAPI_PUBLIC void systhread_dummy(void) { |
158 |
|
159 } |
157 } |
160 |
|
161 #endif |
|
162 |
|
163 #ifdef XP_WIN32 |
|
164 |
|
165 SYS_THREAD systhread_start(int prio, int stksz, thrstartfunc fn, void *arg) { |
|
166 |
|
167 } |
|
168 |
|
169 SYS_THREAD systhread_current(void) { |
|
170 |
|
171 } |
|
172 |
|
173 void systhread_yield(void) { |
|
174 |
|
175 } |
|
176 |
|
177 void systhread_timerset(int usec) { |
|
178 |
|
179 } |
|
180 |
|
181 SYS_THREAD systhread_attach(void) { |
|
182 |
|
183 } |
|
184 |
|
185 void systhread_detach(SYS_THREAD thr) { |
|
186 |
|
187 } |
|
188 |
|
189 void systhread_terminate(SYS_THREAD thr) { |
|
190 |
|
191 } |
|
192 |
|
193 void systhread_sleep(int msec) { |
|
194 |
|
195 } |
|
196 |
|
197 NSAPI_PUBLIC int systhread_newkey() { |
|
198 |
|
199 } |
|
200 |
|
201 NSAPI_PUBLIC void* systhread_getdata(int key) { |
|
202 |
|
203 } |
|
204 |
|
205 NSAPI_PUBLIC void systhread_setdata(int key, void *data) { |
|
206 |
|
207 } |
|
208 |
|
209 NSAPI_PUBLIC void systhread_init(char *name) |
|
210 { |
|
211 |
|
212 } |
|
213 |
|
214 NSAPI_PUBLIC void systhread_dummy(void) { |
|
215 |
|
216 } |
|
217 |
|
218 #endif |
|