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

Comparing Coro/Coro.pm (file contents):
Revision 1.358 by root, Wed Jul 21 06:37:08 2021 UTC vs.
Revision 1.359 by root, Wed Jul 21 06:40:13 2021 UTC

835 835
836A thread is in a safe-cancellable state if it either has never been run 836A thread is in a safe-cancellable state if it either has never been run
837yet, has already been canceled/terminated or otherwise destroyed, or has 837yet, has already been canceled/terminated or otherwise destroyed, or has
838no C context attached and is inside an SLF function. 838no C context attached and is inside an SLF function.
839 839
840The first two states are trivial - a thread that hasnot started or has 840The first two states are trivial - a thread that has not started or has
841already finished is safe to cancel. 841already finished is safe to cancel.
842 842
843The last state basically means that the thread isn't currently inside a 843The last state basically means that the thread isn't currently inside a
844perl callback called from some C function (usually via some XS modules) 844perl callback called from some C function (usually via some XS modules)
845and isn't currently executing inside some C function itself (via Coro's XS 845and isn't currently executing inside some C function itself (via Coro's XS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines