diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-23 18:00:38 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-23 18:00:38 +0000 |
commit | 0abe3f7c711f6721217c5d47ec581395dd1981da (patch) | |
tree | 6f42d72da1e1c364216a370f263ccb6058d92dcc /embed.h | |
parent | 433f2541b8f5648227bfd63195be86e0e194a278 (diff) | |
download | perl-0abe3f7c711f6721217c5d47ec581395dd1981da.tar.gz |
The current implementation of :unique is fundamentally flawed,
because declaring a scalar READONLY does not stop it being modified.
Hence the current implementation of :unique is *not threadsafe*
D'oh!
Better implementations welcome.
p4raw-id: //depot/perl@24962
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1307,11 +1307,6 @@ #ifdef PERL_CORE #define expect_number S_expect_number #endif -# if defined(USE_ITHREADS) -#ifdef PERL_CORE -#define gv_share S_gv_share -#endif -# endif #ifdef PERL_CORE #define utf8_mg_pos S_utf8_mg_pos #define utf8_mg_pos_init S_utf8_mg_pos_init @@ -3274,11 +3269,6 @@ #ifdef PERL_CORE #define expect_number(a) S_expect_number(aTHX_ a) #endif -# if defined(USE_ITHREADS) -#ifdef PERL_CORE -#define gv_share(a,b) S_gv_share(aTHX_ a,b) -#endif -# endif #ifdef PERL_CORE #define utf8_mg_pos(a,b,c,d,e,f,g,h,i) S_utf8_mg_pos(aTHX_ a,b,c,d,e,f,g,h,i) #define utf8_mg_pos_init(a,b,c,d,e,f,g) S_utf8_mg_pos_init(aTHX_ a,b,c,d,e,f,g) |