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

Comparing Coro-Multicore/Multicore.pm (file contents):
Revision 1.16 by root, Wed Mar 6 16:39:45 2019 UTC vs.
Revision 1.17 by root, Mon Jun 24 19:45:53 2019 UTC

219 219
220This can be used to effectively disable this module's functionality by 220This can be used to effectively disable this module's functionality by
221default, and enable it only for selected threads or scopes, by calling 221default, and enable it only for selected threads or scopes, by calling
222C<Coro::Multicore::scoped_enable>. 222C<Coro::Multicore::scoped_enable>.
223 223
224Note that this setting nonly affects the I<global default> - it will not
225reflect whether multicore functionality is enabled for the current thread.
226
224The function returns the previous value of the enable flag. 227The function returns the previous value of the enable flag.
225 228
226=item Coro::Multicore::scoped_enable 229=item Coro::Multicore::scoped_enable
227 230
228This function instructs Coro::Multicore to handle all requests executed 231This function instructs Coro::Multicore to handle all requests executed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines