ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro-Multicore/Multicore.xs
(Generate patch)

Comparing Coro-Multicore/Multicore.xs (file contents):
Revision 1.25 by root, Wed Mar 6 16:39:45 2019 UTC vs.
Revision 1.26 by root, Tue Dec 3 07:12:28 2019 UTC

188 188
189static void 189static void
190start_thread (void) 190start_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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines