… | |
… | |
304 | } |
304 | } |
305 | } |
305 | } |
306 | |
306 | |
307 | static int req_invoke (eio_req *req) |
307 | static int req_invoke (eio_req *req) |
308 | { |
308 | { |
309 | dSP; |
|
|
310 | |
|
|
311 | if (req->flags & FLAG_SV2_RO_OFF) |
309 | if (req->flags & FLAG_SV2_RO_OFF) |
312 | SvREADONLY_off (req->sv2); |
310 | SvREADONLY_off (req->sv2); |
313 | |
311 | |
314 | if (!EIO_CANCELLED (req) && req->callback) |
312 | if (!EIO_CANCELLED (req) && req->callback) |
315 | { |
313 | { |
|
|
314 | dSP; |
316 | static SV *sv_result_cache; /* caches the result integer SV */ |
315 | static SV *sv_result_cache; /* caches the result integer SV */ |
317 | SV *sv_result; |
316 | SV *sv_result; |
318 | |
317 | |
319 | ENTER; |
318 | ENTER; |
320 | SAVETMPS; |
319 | SAVETMPS; |