--- Coro-Multicore/perlmulticore.h 2015/06/28 18:33:13 1.7 +++ Coro-Multicore/perlmulticore.h 2015/06/28 18:43:17 1.9 @@ -302,6 +302,20 @@ =back + +=head1 DISABLING PERL MULTICORE AT COMPILE TIME + +You can disable the complete perl multicore API by defining the +symbol C to C<1> (e.g. by specifying +F<-DPERL_MULTICORE_DISABLE> as compiler argument). + +This will leave no traces of the API in the compiled code, suitable +"empty" C and C definitions will be provided. + +This could be added to perl's C when configuring perl on +platforms that do not support threading at all for example. + + =head1 AUTHOR Marc A. Lehmann @@ -318,6 +332,9 @@ */ +#define PERL_MULTICORE_MAJOR 1 /* bumped on incompatible changes */ +#define PERL_MULTICORE_MINOR 0 /* bumped on every change */ + #if PERL_MULTICORE_DISABLE #define perlinterp_release() do { } while (0)