… | … | ||
---|---|---|---|
188 | 188 | ||
189 | static void | 189 | static void |
190 | start_thread (void) | 190 | start_thread (void) |
191 | { | 191 | { |
192 | xthread_t tid; | 192 | xthread_t tid; |
193 | |||
194 | if (!curthreads) | ||
195 | { | ||
196 | X_UNLOCK (release_m); | ||
197 | eval_pv ("Coro::Multicore::init", 1); | ||
198 | X_LOCK (release_m); | ||
199 | } | ||
193 | 200 | ||
194 | if (curthreads >= max_threads && 0) | 201 | if (curthreads >= max_threads && 0) |
195 | return; | 202 | return; |
196 | 203 | ||
197 | ++curthreads; | 204 | ++curthreads; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |