Operating System - HP-UX
1826435 Members
4183 Online
109692 Solutions
New Discussion

10.2 application development level THREAD support

 
Scott McDade
Frequent Advisor

10.2 application development level THREAD support

I am still trying to get threads working on my HPUX 10.2 machine. Actually, I am trying to compile a C++ program that uses threads and appears to need the definitions of "thread_t" and "sema_t" and I can not find them defined in any of the *.h files on my workstation. I have installed the DCEProg bundle. I was hoping the needed *.sl and definitions would be in that package but no luck! Does anyone know whatelse I may need for THREAD support?
Keep it Simple!~
5 REPLIES 5
Santosh Nair_1
Honored Contributor

Re: 10.2 application development level THREAD support

10.20 does not have kernel threads support...it has support for user threads through DCE. I believe you have to bind your application against the libdce libraries.

I'm not really a developer, but hope this helps anyway.

-Santosh
Life is what's happening while you're busy making other plans
Eugen Cocalea
Respected Contributor

Re: 10.2 application development level THREAD support

Hi,

http://www.roguewave.com/support/docs/thr200pl/booktoc.cfm

Also, hp.com has a nice service: hpux-devtools. Look at this search, it doesn't solve your problem instantly, but at least it's a direction you can dig:

http://h21007.www2.hp.com/dspp/srch/srch_SearchResut_IDX/1,1694,,00.html?qtext=thread&criteria=0&col=all&lk=1&rf=0&fld=3&nh=10&fdt=in&fin=an&amo=10&ady=19&ayr=2001&bmo=10&bdy=26&byr=2001&st=&qt=%2Bthread

E.
To Live Is To Learn
harry d brown jr
Honored Contributor

Re: 10.2 application development level THREAD support

You might want to look into

http://www.riverace.com/ACE_Kits/hpux1020acc.html

live free or die

harry
Live Free or Die
Sridhar Bhaskarla
Honored Contributor

Re: 10.2 application development level THREAD support

Scott,

I guess this message is a follow-up to your previous message.

Being a developer, you should have this URL handy. This may help you a lot while doing programming on HP.

http://devresource.hp.com

Following URL is a link from the above page. It talks about threads&multiprocessing.

http://h21007.www2.hp.com/dspp/tech/tech_TechTypeListingPage_IDX/1,1704,10318,00.html

I am hoping, you would find the required information there.

Being a system administrator, I know only how to help developers. I can't develop :-)

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Deepak Extross
Honored Contributor

Re: 10.2 application development level THREAD support

Scott,

Would you consider moving to HP11.0?
I know for sure that threaded apps run just fine on v11.0.

I happen to have read somewhere that the pthread library can only be used with 10.30 onwards, though I can't dig up the reference right now.