Craig A. Berry wrote: > The patch below fixes the following two test failures that I encountered > with Compaq C 6.4 on OpenVMS Alpha 7.2-1:
Thanks, applied as #17913. > The following test still fails: > > ext/threads/shared/t/disabled........FAILED at test 0 > > It fails because we don't build threads::shared with a non-thread > configuration. I'm afraid I don't understand the rationale of this > test. Should I really be building the extension for the sole purpose of > running a test that proves the extension is unavailable? Well, threads and threads::shared are intended to be present even on non-threaded perls. threads.pm dies at compile-time when loaded by a non-threaded perl. But thread::shared should be silently a no-op module (see the *_disabled functions in it), so module authors can write modules that work when 1/ run on a non-threaded perl, 2/ run on a threaded perl, without having use()d threads, 3/ on a threaded perl, use()ing threads.
