in reply to Re: Test::More and semaphore handles on Windows
in thread Test::More and semaphore handles on Windows
Is this correct?BEGIN { use Config; if( $] >= 5.008 && $Config{useithreads} ) { require threads; require threads::shared; threads::shared->import; } else { *share = sub { 0 }; *lock = sub { 0 }; } }
|
|---|
| 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 |