diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-10 00:57:53 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-10 00:57:53 +0000 |
commit | d55594aef6b1fb9e305275c3d19a25e4cdfb2cda (patch) | |
tree | f7d6379858b9595f060beee6161b43a373132fe9 /perl.c | |
parent | 5cb186c2cd2ac09e46b98e7cfd9fde70c8a3481c (diff) | |
download | perl-d55594aef6b1fb9e305275c3d19a25e4cdfb2cda.tar.gz |
Initial (untested) merge of all non-ansi changes on ansiperl branch
into win32 branch.
p4raw-id: //depot/win32/perl@221
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -129,8 +129,12 @@ register PerlInterpreter *sv_interp; #ifdef USE_THREADS INIT_THREADS; +#ifdef ALLOC_THREAD_KEY + ALLOC_THREAD_KEY; +#else if (pthread_key_create(&thr_key, 0)) croak("panic: pthread_key_create"); +#endif MUTEX_INIT(&malloc_mutex); MUTEX_INIT(&sv_mutex); /* |