Skip Menu |
 

This queue is for tickets about the AnyEvent-Worker CPAN distribution.

Report information
The Basics
Id: 80613
Status: new
Priority: 0/
Queue: AnyEvent-Worker

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Consider using Devel::GlobalDestruction for acurate and thread-safe GD detection
Download (untitled) / with headers
text/plain 548b
You use a weird hack in [1] to detect post-factum global destruction state. This is not only error prone, but it will not even work under ithreads as described in [2]. Please consider switching to https://metacpan.org/release/Devel-GlobalDestruction, which has both an XS and a PurePerl variant, both of which are tested to behave correctly under ithreads. [1] https://metacpan.org/source/MONS/AnyEvent-Worker-0.06/lib/AnyEvent/Worker.pm#L323 [2] https://metacpan.org/source/RIBASUSHI/Devel-GlobalDestruction-0.09/lib/Devel/GlobalDestruction.pm#60


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.