1755381 Members
3957 Online
108832 Solutions
New Discussion юеВ

thread programming

 
SOLVED
Go to solution
Raul_10
Occasional Contributor

thread programming

Does anybody now if I need hp-ux 11.00 to use thread function included in pthread.h, and if not where can I find libraries an pthread.h to use it in a 10.20 hp-ux
2 REPLIES 2
Brian Hackley
Honored Contributor
Solution

Re: thread programming

Raul,
We recommend doing all your development on HPUX 11.0 whenever possible, especially for threaded apps. HPUX 11i is available, so you'll see 10.20 heading rapidly towards the sunset as far as developers are concerned.

But to answer your question:
pthread.h includes are located in the DCE-Core-Tools bundle on the HP-UX 10.20 OS CD-ROM. You'll need to select and swinstall that bundle.
Hope this helps,
Brian Hackley
Ask me about telecommuting!
Kiran N. Mehta
Advisor

Re: thread programming

If you want to make your application available on both the platforms, here's a nice document on equivalence between DCE and POSIX Threads implementations:
http://devresource.hp.com./devresource/Docs/TechPapers/PortThreads.html#intro