HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pthread_create
Operating System - HP-UX
1834045
Members
2359
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-23-2003 04:33 AM
09-23-2003 04:33 AM
pthread_create
On HP-UX 11.0, I am using the pthread_create system call to create new threads on our application. But the pthread_create function returns the thread id in negative ( for example -1342).Any one can shed some light on this as why the thread ids are in negative?
Thanks,
Murali
Thanks,
Murali
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 06:09 PM
09-23-2003 06:09 PM
Re: pthread_create
hi murali,
does the pthread_create return any error value or does it exit with a return value of 0. look into pthread_attr_init() to see if u are missing something.
HTH
aparna
does the pthread_create return any error value or does it exit with a return value of 0. look into pthread_attr_init() to see if u are missing something.
HTH
aparna
If you don't have time to do it right you must have time to do it over
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 06:22 PM
09-23-2003 06:22 PM
Re: pthread_create
Set a watchpoint with debugger and check how pthread_create return value changes.man pthread_create for error return values (not negative).
How to set watchpoints with GDB for example:
http://www.gnu.org/manual/gdb-5.1.1/html_node/gdb_29.html
How to set watchpoints with GDB for example:
http://www.gnu.org/manual/gdb-5.1.1/html_node/gdb_29.html
So computers don't think yet. At least not chess computers. - Seymour Cray
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP