diff options
-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) |