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