--- Coro-Multicore/Multicore.xs 2015/07/05 03:50:57 1.12 +++ Coro-Multicore/Multicore.xs 2015/12/19 23:56:35 1.15 @@ -175,7 +175,7 @@ static void pmapi_release (void) { - if (!(thread_enable ? thread_enable & 1 : global_enable)) + if (! ((thread_enable ? thread_enable : global_enable) & 1)) { X_TLS_SET (current_key, 0); return; @@ -261,8 +261,8 @@ start_thread (); X_UNLOCK (release_m); - /* not perfectly efficient to do it this way, but it's simple */ - perl_multicore_init (); + /* not perfectly efficient to do it this way, but it is simple */ + perl_multicore_init (); /* calls release */ perl_multicore_api->pmapi_release = pmapi_release; perl_multicore_api->pmapi_acquire = pmapi_acquire; }