This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
threads::shared tidy up:
authorNick Ing-Simmons <nik@tiuk.ti.com>
Fri, 25 Jan 2002 09:35:07 +0000 (09:35 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Fri, 25 Jan 2002 09:35:07 +0000 (09:35 +0000)
commit9c4972d9e75b4597ce8eb071662b3474470a1ada
tree216aa0d54bd533b0a4031eccd41c8f913828ffc9
parent4efb34a6d9cca053e4635f6fdedd5c6efdc554d8
threads::shared tidy up:
 - Add _id() function to shared.xs so we can test refs point at same thing.
 - Use that rather that comparing stringified ref in shared/t/hv_refs.t
 - Allow no_share to pass if sharing to works despite mis-ordering.
 - Change docs of threads to document ->create() (as used in tests),
   and not mention "new".

p4raw-id: //depot/perlio@14410
ext/threads/shared/shared.pm
ext/threads/shared/shared.xs
ext/threads/shared/t/hv_refs.t
ext/threads/shared/t/no_share.t
ext/threads/threads.pm