diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-15 11:29:47 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-15 11:29:47 +0000 |
commit | ba979b3106a5e7f3b2512d1f4e93c681fba7aa9f (patch) | |
tree | 72ee4a7f64defda57f4640e989e1e59e047f15c4 /perl.h | |
parent | f1f8f8925a02a6ca4f9ef21b150b369edc63630d (diff) | |
download | perl-ba979b3106a5e7f3b2512d1f4e93c681fba7aa9f.tar.gz |
Regen embed enable slab for PERL_IMPLICIT_SYS
p4raw-id: //depot/perlio@14271
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -41,6 +41,15 @@ /* See L<perlguts/"The Perl API"> for detailed notes on * PERL_IMPLICIT_CONTEXT and PERL_IMPLICIT_SYS */ +#ifdef PERL_IMPLICIT_SYS +/* PERL_IMPLICIT_SYS implies PerlMemShared != PerlMem + so use slab allocator to avoid lots of MUTEX overhead + */ +# ifndef PL_SLAB_ALLOC +# define PL_SLAB_ALLOC +# endif +#endif + #ifdef USE_ITHREADS # if !defined(MULTIPLICITY) # define MULTIPLICITY |