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

Comparing Coro/Coro/State.pm (file contents):
Revision 1.130 by root, Sat Nov 22 06:03:10 2008 UTC vs.
Revision 1.131 by root, Sat Nov 22 07:11:16 2008 UTC

356 356
357It probably only works on perl 5.10; it cannot clone a coroutine inside 357It probably only works on perl 5.10; it cannot clone a coroutine inside
358the substition operator (but windows perl can't fork from there either) 358the substition operator (but windows perl can't fork from there either)
359and some other contexts, and C<abort ()> is the preferred mechanism to 359and some other contexts, and C<abort ()> is the preferred mechanism to
360signal errors. It cannot clone a state that has a c context attached 360signal errors. It cannot clone a state that has a c context attached
361(implementing clone on the C level is too hard for me to even try), which 361(implementing clone on the C level is too hard for me to even try),
362rules out calling call/cc from the main coroutine. It doesn't work with 362which rules out calling call/cc from the main coroutine. It cannot
363clone a context that hasn't even been started yet. It doesn't work with
363C<-DDEBUGGING> (but what does). It probably also leaks, and sometimes 364C<-DDEBUGGING> (but what does). It probably also leaks, and sometimes
364triggers a few assertions inside Coro. Most of these limitations *are* 365triggers a few assertions inside Coro. Most of these limitations *are*
365fixable with some effort, but that's pointless just to make a point that 366fixable with some effort, but that's pointless just to make a point that
366it could be done. 367it could be done.
367 368

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines