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

Comparing Coro-Multicore/perlmulticore.h (file contents):
Revision 1.7 by root, Sun Jun 28 18:33:13 2015 UTC vs.
Revision 1.8 by root, Sun Jun 28 18:37:52 2015 UTC

299The design goals for this mechanism were to be simple to use, very 299The design goals for this mechanism were to be simple to use, very
300efficient when not needed, low code and data size overhead and broad 300efficient when not needed, low code and data size overhead and broad
301applicability. 301applicability.
302 302
303=back 303=back
304
305
306=head1 DISABLING PERL MULTICORE AT COMPILE TIME
307
308You can disable the complete perl multicore API by defining the
309symbol C<PERL_MULTICORE_DISABLE> to C<1> (e.g. by specifying
310F<-DPERL_MULTICORE_DISABLE> as compiler argument).
311
312This will leave no traces of the API in the compiled code, suitable
313"empty" C<perl_release> and C<perl_acquire> definitions will be provided.
314
315This could be added to perl's C<CPPFLAGS> when configuring perl on
316platforms that do not support threading at all for example.
317
304 318
305=head1 AUTHOR 319=head1 AUTHOR
306 320
307 Marc A. Lehmann <perlmulticore@schmorp.de> 321 Marc A. Lehmann <perlmulticore@schmorp.de>
308 http://perlmulticore.schmorp.de/ 322 http://perlmulticore.schmorp.de/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines