1753253 Members
4177 Online
108792 Solutions
New Discussion юеВ

pthread on HP-UX 10.20

 
SOLVED
Go to solution
Carlos Ruiz
Occasional Contributor

pthread on HP-UX 10.20

I don't have the includes nor the library for pthread, but i do the manual pages. Some package is bad or not installed?
3 REPLIES 3
Kenneth Platz
Esteemed Contributor
Solution

Re: pthread on HP-UX 10.20

Carlos,

You should install the "DCE-CoreTools" product from your Core OS & Install CD. This includes the pthreads libraries & headers.
I think, therefore I am... I think!
Chris Calabrese
Valued Contributor

Re: pthread on HP-UX 10.20

Actually this does not install pthreads. It installs dce-threads, which are not totally pthreads compatible. If you want pthreads you need to go to HP-UX 11.00 (OK, 10.30, but that been discontinued).
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader
rick jones
Honored Contributor

Re: pthread on HP-UX 10.20

and keep in mind that CMA/DCE threads on HP-UX are strictly user-space. that means that you will not take advantage of multiple CPUs.

to have threads take advantage of multiple CPU,s you have to use the POSIX threads in 11.X
there is no rest for the wicked yet the virtuous have no pillows