Operating System - HP-UX
1830239 Members
1705 Online
109999 Solutions
New Discussion

Problems with libcma and libpthread

 
Jaspreet Baweja
New Member

Problems with libcma and libpthread

We have a custom app that talks to a third party tool. We use DCE/CMA threads. The third party tool recently added some libraries to the upgraded version. These libraries are also loading libpthread at runtime. this is causing problems becuse of mixing of two threading models. The stub is picking up functions from libpthread instead from libcma. How can I resolve this? Can I somehow force it to use libcma. Any help is highly appreciated.
3 REPLIES 3
rick jones
Honored Contributor

Re: Problems with libcma and libpthread

If the third party libraries are loading the libpthread stuff, likely as not, they depend on the proper POSIX threads support in libpthread and would not work with the long since deprecated DCE/CMA threads. Given that proper POSIX threads came-out in 11.0 back in 1997, it may be time to migrate off the DCS/CMA threads.
there is no rest for the wicked yet the virtuous have no pillows
Jaspreet Baweja
New Member

Re: Problems with libcma and libpthread

Thanks for your reply Rick. Is their a details step by step guide to port DCE threads to Kernel Threads? Please let me know.
rick jones
Honored Contributor

Re: Problems with libcma and libpthread

I've never actually written anything but "proper" POSIX threads, so have never had much call to see-out such a thing but would suspect that somewhere under devresource.hp.com and/or docs.hp.com such a thing might exist.
there is no rest for the wicked yet the virtuous have no pillows