- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pthread problem on itanium
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 10:35 PM
10-02-2005 10:35 PM
pthread problem on itanium
I am facing a problem in my code while migrating to HP11iv2 Itanium env. On a pthread_create() call I get the return value 251. And the desired thread fails to spawn. Could somebody help me out on this. What could be the problem missing patch etc.?
Thanks very much,
Alok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 10:40 PM
10-02-2005 10:40 PM
Re: pthread problem on itanium
#define ENOSYS 251 /* Function not implemented */
Did you include -lpthread library during compilation??
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 10:41 PM
10-02-2005 10:41 PM
Re: pthread problem on itanium
#define ENOSYS 251 /* Function not implemented */
what are you kernel settings for max_thread_proc and nkthread??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 10:46 PM
10-02-2005 10:46 PM
Re: pthread problem on itanium
http://h21007.www2.hp.com/dspp/ml/showArchiveMessage/1,,24!00!01!0025,00.html
It is better to post this question into cxx-dev list sponsored by HP.
http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 12:49 AM
10-03-2005 12:49 AM
Re: pthread problem on itanium
Thanks for the reply. The kernel parameters for my system are :
max_thread_proc - 3000
nkthread - 8416
The link line for generating the shared library is :
/opt/aCC/bin/aCC -b +DD64 -AP -DPTHREAD_COMPAT_MODE -Wl,+e,AgentApi_I
nit, -Wl ,+e,__StaticCtorTable_Start,+e,__ZStaticCtorTable_End,+e,__StaticCtorTable_End,+e,__ZStaticCtorTable_Start,+e,_shlInit -o mylib.so AgentAPI.o WinRegistry.o AgentConfig.o -lstd -lstream -lCsup -lunwind -lm -lnsl -lpthread
Do you see something fishy here..
Thanks very much,
Alok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 12:55 AM
10-03-2005 12:55 AM
Re: pthread problem on itanium
-Arun