diff options
author | Karl Williamson <khw@cpan.org> | 2016-04-06 21:46:28 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-04-09 13:59:24 -0600 |
commit | 929e12133425199fce3fe026156c10876ac0cbb8 (patch) | |
tree | 95286d2bc13b80afe4ed3872c14fd9c081235260 /unixish.h | |
parent | 68b940afc96546256736bc5d8185075ddc12b205 (diff) | |
download | perl-929e12133425199fce3fe026156c10876ac0cbb8.tar.gz |
Add locale mutex
This adds a new mutex for use in the next commit for use with locale
handling.
Diffstat (limited to 'unixish.h')
-rw-r--r-- | unixish.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -138,9 +138,10 @@ int afstat(int fd, struct stat *statb); #if defined(__amigaos4__) # define PERL_SYS_INIT_BODY(c,v) \ MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT; PERLIO_INIT; MALLOC_INIT; amigaos4_init_fork_array(); amigaos4_init_environ_sema(); -# define PERL_SYS_TERM_BODY() \ - HINTS_REFCNT_TERM; OP_CHECK_MUTEX_TERM; \ - OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; amigaos4_dispose_fork_array(); +# define PERL_SYS_TERM_BODY() \ + HINTS_REFCNT_TERM; OP_CHECK_MUTEX_TERM; \ + OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; LOCALE_TERM; \ + amigaos4_dispose_fork_array(); #endif #ifndef PERL_SYS_INIT_BODY @@ -149,9 +150,10 @@ int afstat(int fd, struct stat *statb); #endif #ifndef PERL_SYS_TERM_BODY -# define PERL_SYS_TERM_BODY() \ - HINTS_REFCNT_TERM; OP_CHECK_MUTEX_TERM; \ - OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; +# define PERL_SYS_TERM_BODY() \ + HINTS_REFCNT_TERM; OP_CHECK_MUTEX_TERM; \ + OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; \ + LOCALE_TERM; #endif |