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.6 by root, Sun Jun 28 18:30:48 2015 UTC vs.
Revision 1.7 by root, Sun Jun 28 18:33:13 2015 UTC

315license: L<https://creativecommons.org/publicdomain/zero/1.0/>. 315license: L<https://creativecommons.org/publicdomain/zero/1.0/>.
316 316
317=cut 317=cut
318 318
319*/ 319*/
320
321#if PERL_MULTICORE_DISABLE
322
323#define perlinterp_release() do { } while (0)
324#define perlinterp_acquire() do { } while (0)
325
326#else
320 327
321/* this struct is shared between all modules, and currently */ 328/* this struct is shared between all modules, and currently */
322/* contain only the two function pointers for release/acquire */ 329/* contain only the two function pointers for release/acquire */
323struct perl_multicore_api 330struct perl_multicore_api
324{ 331{
369 /* call the real (or dummy) implementation now */ 376 /* call the real (or dummy) implementation now */
370 perlinterp_release (); 377 perlinterp_release ();
371} 378}
372 379
373#endif 380#endif
381
382#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines