1833059 Members
2529 Online
110049 Solutions
New Discussion

PThread on HP-UX 10.2

 
Chris Lo_1
New Member

PThread on HP-UX 10.2

Hi,

Currently I have a program that is working fine on HP-UX 10.2, but needs to be switch onto Linux RedHat 8.0.

The program uses PThread, I was wondering is there any major changes done to the PThread library located on HP-UX 10.2 (when HP-UX 10.2 first came out) and the PThread library located on Linux RedHat 8.0

If you can give me any references (websites) on the changes on PThread from versions to versions would be great too.

Thanks

Chris
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: PThread on HP-UX 10.2

It depends on which Pthreads you are using. If you are using the DCE package (libcma.sl and friends), you get quite a different behaviour as if you were using the open source pth package.

From 'man perlhpux':

--8<---
HP-UX versions before 10.30 require a separate installation of a POSIX
threads library package. Two examples are the HP DCE package,
available on "HP-UX Hardware Extensions 3.0, Install and Core OS,
Release 10.20, April 1999 (B3920-13941)" or the Freely available PTH
package, available though worldwide HP-UX mirrors of precompiled
packages (e.g. http://hpux.tn.tudelft.nl/hppd/hpux/)

If you are going to use the HP DCE package, the library used for
threading is /usr/lib/libcma.sl, but there have been multiple updates
of that library over time. Perl will build with the first version, but
it will not pass the test suite. Older Oracle versions might be a
compelling reason not to update that library, otherwise please find a
newer version in one of the following patches: PHSS_19739, PHSS_20608,
or PHSS_23672

reformatted output:

d3:/usr/lib 106 > what libcma-*.1
libcma-00000.1:
HP DCE/9000 1.5 Module: libcma.sl (Export)
Date: Apr 29 1996 22:11:24
libcma-19739.1:
HP DCE/9000 1.5 PHSS_19739-40 Module: libcma.sl (Export)
Date: Sep 4 1999 01:59:07
libcma-20608.1:
HP DCE/9000 1.5 PHSS_20608 Module: libcma.1 (Export)
Date: Dec 8 1999 18:41:23
libcma-23672.1:
HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export)
Date: Apr 9 2001 10:01:06
d3:/usr/lib 107 >
-->8---

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn