diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-05 00:50:27 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-05 00:50:27 +0000 |
commit | 2b544454484ed91b6f1ae2cffef4c29b1302dcd7 (patch) | |
tree | 04fbdedc742e1f14a102cca392dff6b432613009 | |
parent | 379bd76c62ad1ec219bfda207492671471a891f8 (diff) | |
download | perl-2b544454484ed91b6f1ae2cffef4c29b1302dcd7.tar.gz |
Compile(d) at least once with threads on win32
but did not work
p4raw-id: //depot/ansiperl@202
-rw-r--r-- | embed.h | 1 | ||||
-rw-r--r-- | perl.c | 2 | ||||
-rw-r--r-- | thread.h | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -823,6 +823,7 @@ #define pp_socket Perl_pp_socket #define pp_sockpair Perl_pp_sockpair #define pp_sort Perl_pp_sort +#define pp_specific Perl_pp_specific #define pp_splice Perl_pp_splice #define pp_split Perl_pp_split #define pp_sprintf Perl_pp_sprintf @@ -125,8 +125,10 @@ perl_construct(register PerlInterpreter *sv_interp) #ifdef USE_THREADS INIT_THREADS; +#ifndef WIN32 if (pthread_key_create(&thr_key, 0)) croak("panic: pthread_key_create"); +#endif MUTEX_INIT(&malloc_mutex); MUTEX_INIT(&sv_mutex); /* @@ -359,6 +359,7 @@ typedef struct condpair { #define rs (thr->Trs) #define last_in_gv (thr->Tlast_in_gv) #define ofs (thr->Tofs) +#define ofslen (thr->Tofslen) #define defoutgv (thr->Tdefoutgv) #define chopset (thr->Tchopset) #define formtarget (thr->Tformtarget) |