in reply to Re: Test::More and semaphore handles on Windows
in thread Test::More and semaphore handles on Windows

As I understand it, the problem related to Test::Builder will affect 5.8 and later because the current version of Test::Builder checks that perl version is greater then 5.008 before it enables this thread safety. From Test::Builder:
BEGIN { use Config; if( $] >= 5.008 && $Config{useithreads} ) { require threads; require threads::shared; threads::shared->import; } else { *share = sub { 0 }; *lock = sub { 0 }; } }
Is this correct?

Replies are listed 'Best First'.
Re^3: Test::More and semaphore handles on Windows
by chromatic (Archbishop) on Aug 25, 2004 at 17:03 UTC

    Yes, that's correct, because Perl 5.7.x switched to a different threading model.