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.20 by root, Tue Aug 14 16:53:05 2018 UTC vs.
Revision 1.21 by root, Sun Aug 26 15:30:55 2018 UTC

202 X_TLS_SET (current_key, 0); 202 X_TLS_SET (current_key, 0);
203 return; 203 return;
204 } 204 }
205 205
206 struct tctx *ctx = tctx_get (); 206 struct tctx *ctx = tctx_get ();
207 ctx->coro = SvREFCNT_inc_NN (CORO_CURRENT); 207 ctx->coro = SvREFCNT_inc_simple_NN (CORO_CURRENT);
208 ctx->wait_f = 0; 208 ctx->wait_f = 0;
209 209
210 X_TLS_SET (current_key, ctx); 210 X_TLS_SET (current_key, ctx);
211 pthread_sigmask (SIG_SETMASK, &fullsigset, &cursigset); 211 pthread_sigmask (SIG_SETMASK, &fullsigset, &cursigset);
212 212

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines