… | |
… | |
210 | |
210 | |
211 | This can be used to effectively disable this module's functionality |
211 | This can be used to effectively disable this module's functionality |
212 | by default, and enable it only for selected threads or scopes, by |
212 | by default, and enable it only for selected threads or scopes, by |
213 | calling "Coro::Multicore::scoped_enable". |
213 | calling "Coro::Multicore::scoped_enable". |
214 | |
214 | |
|
|
215 | Note that this setting nonly affects the *global default* - it will |
|
|
216 | not reflect whether multicore functionality is enabled for the |
|
|
217 | current thread. |
|
|
218 | |
215 | The function returns the previous value of the enable flag. |
219 | The function returns the previous value of the enable flag. |
216 | |
220 | |
217 | Coro::Multicore::scoped_enable |
221 | Coro::Multicore::scoped_enable |
218 | This function instructs Coro::Multicore to handle all requests |
222 | This function instructs Coro::Multicore to handle all requests |
219 | executed in the current coro thread, from the call to the end of the |
223 | executed in the current coro thread, from the call to the end of the |
… | |
… | |
348 | |
352 | |
349 | AUTHOR |
353 | AUTHOR |
350 | Marc Lehmann <schmorp@schmorp.de> |
354 | Marc Lehmann <schmorp@schmorp.de> |
351 | http://software.schmorp.de/pkg/AnyEvent-XSThreadPool.html |
355 | http://software.schmorp.de/pkg/AnyEvent-XSThreadPool.html |
352 | |
356 | |
353 | Additional thanks to Zsbán Ambrus, who gave considerable desing input |
357 | Additional thanks to Zsbán Ambrus, who gave considerable desing input |
354 | for this module and the perl multicore specification. |
358 | for this module and the perl multicore specification. |
355 | |
359 | |