| Revision: | 1.1 |
| Committed: | Sat Jun 27 17:59:10 2015 UTC (11 years, 3 months ago) by root |
| Branch: | MAIN |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | root | 1.1 | =head1 NAME |
| 2 | |||
| 3 | Coro::Multicore - make coro threads on multiple cores with specially supported modules | ||
| 4 | |||
| 5 | =head1 SYNOPSIS | ||
| 6 | |||
| 7 | use Coro::Multicore; | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | =over 4 | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | package Coro::Multicore; | ||
| 16 | |||
| 17 | use Coro (); | ||
| 18 | use AnyEvent (); | ||
| 19 | |||
| 20 | BEGIN { | ||
| 21 | our $VERSION = 0.02; | ||
| 22 | |||
| 23 | use XSLoader; | ||
| 24 | XSLoader::load __PACKAGE__, $VERSION; | ||
| 25 | } | ||
| 26 | |||
| 27 | our $WATCHER = AE::io fd, 0, \&poll; | ||
| 28 | |||
| 29 | =back | ||
| 30 | |||
| 31 | =head1 AUTHOR | ||
| 32 | |||
| 33 | Marc Lehmann <schmorp@schmorp.de> | ||
| 34 | http://software.schmorp.de/pkg/AnyEvent-XSThreadPool.html | ||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 1 | ||
| 39 |