Craig A. Berry wrote:
At 7:02 AM -0500 3/16/06, John E. Malmberg wrote:

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.

This fixes t/op/threads.t to actually run test 4 instead of hanging.
Thanks for tracking this down. The "workaround" should be to simply
answer yes to the question:

Enable multiple kernel threads and upcalls?

at configuration time.   We turn it off by default because there were
problems with these options when first released some years ago.  We
should probably turn it on by default for VMS 7.2 and later, or maybe
7.3.  One reason I've never done that is that I have only
single-processor systems to test on.

I will look at configure.com then.

My recommendation is that if threads are enabled, upcalls should also be enabled by default.

The multiple kernel threads can expose coding problems on a multi-processor system, so enabling it as default may expose some problems.

If someone has a multi-processor system available to test on, then I would recommend seeing if there are any problems with multiple kernel threads enabled.

So for now, it may be safer to leave multiple kernel threads default to be off.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to