This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The current implementation of :unique is fundamentally flawed,
authorNicholas Clark <nick@ccl4.org>
Thu, 23 Jun 2005 18:00:38 +0000 (18:00 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 23 Jun 2005 18:00:38 +0000 (18:00 +0000)
commit0abe3f7c711f6721217c5d47ec581395dd1981da
tree6f42d72da1e1c364216a370f263ccb6058d92dcc
parent433f2541b8f5648227bfd63195be86e0e194a278
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
embed.fnc
embed.h
ext/threads/t/problems.t
pod/perltodo.pod
proto.h
sv.c