--- Coro/Coro.pm 2010/11/11 00:09:08 1.279 +++ Coro/Coro.pm 2010/12/07 17:13:43 1.281 @@ -615,7 +615,18 @@ coro. This method simply sets the C<< $coro->{desc} >> member to the given -string. You can modify this member directly if you wish. +string. You can modify this member directly if you wish, and in fact, this +is often preferred to indicate major processing states that cna then be +seen for example in a L session: + + sub my_long_function { + local $Coro::current->{desc} = "now in my_long_function"; + ... + $Coro::current->{desc} = "my_long_function: phase 1"; + ... + $Coro::current->{desc} = "my_long_function: phase 2"; + ... + } =cut @@ -859,7 +870,7 @@ it is probably not obvious to everybody). What follows is an ultra-condensed version of my talk about threads in -scripting languages given onthe perl workshop 2009: +scripting languages given on the perl workshop 2009: The so-called "ithreads" were originally implemented for two reasons: first, to (badly) emulate unix processes on native win32 perls, and