Branch Coverage

Multicore.xs
Criterion Covered Total %
branch 31 56 55.3


line true false branch
79 2 0 if (!tctx_free)
116 2 2 if (ctxs->cur >= ctxs->max)
118 0 2 ctxs->max = ctxs->max ? ctxs->max * 2 : 16;
149 2 2 while (!releasers.cur)
165 0 2 if (!ctx) /* timed out? */
171 2 0 if (!ctx->jeret)
172 2 2 while (ctx->coro)
194 1 1 if (!curthreads)
215 0 2 if (! ((thread_enable ? thread_enable : global_enable) & 1))
0 2 if (! ((thread_enable ? thread_enable : global_enable) & 1))
237 2 0 if (idle <= min_idle)
243 0 2 while (!idle && releasers.cur)
0 0 while (!idle && releasers.cur)
258 0 2 if (!ctx)
273 2 2 while (!ctx->wait_f)
281 0 2 if (jeret)
284 0 0 JMPENV_JUMP (jeret);
0 0 JMPENV_JUMP (jeret);
304 0 2 X_TLS_INIT (current_key);
309 0 2 if (s_epipe_new (&ep))
314 0 2 I_CORO_API ("Coro::Multicore");
2 0 I_CORO_API ("Coro::Multicore");
2 0 I_CORO_API ("Coro::Multicore");
0 2 I_CORO_API ("Coro::Multicore");
333 2 0 if (items)
379 2 2 while (acquirers.cur)
394 2 0 if (nsec) sleep (nsec);
396 0 2 if (nsec) usleep (nsec);