I have found that the link command for executables needs to be changed for threaded Perl build. The additional qualifiers are ignored for shared images.

I am not sure how to modify configure.com and descrip.mms_template etc to do this.

When building a threaded Perl, the link command should be:

$LINK :== LINK/THREADS_ENABLE=(MULTIPLE,UPCALLS)

Setting the above command before building Perl is the current work around that I am using.

The UPCALLS is needed to prevent calls to sleep(), SYS$HIBER(), usleep(), nanosleep(), and several other timed waits from becoming permanent.

The MULTIPLE allows the threaded Perl to take advantage of multi-processor systems.

This fixes t/op/threads.t to actually run test 4 instead of hanging.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to