HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pthread implementation
Operating System - HP-UX
1833207
Members
3157
Online
110051
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
03-07-2003 03:24 AM
03-07-2003 03:24 AM
Pthread implementation
Does anyone know if pthreads are implemented as light weight processes or not.
For example is there 1 kernal thread per pthread or is there 1 kernal thread which is linked to the process which owns the pthread.
I've developing on HPUX 11.i using gcc, C++ and POSIX threads
For example is there 1 kernal thread per pthread or is there 1 kernal thread which is linked to the process which owns the pthread.
I've developing on HPUX 11.i using gcc, C++ and POSIX threads
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 03:35 AM
03-07-2003 03:35 AM
Re: Pthread implementation
Hi
Read
/usr/share/doc/proc_mgt.txt
Explains Kernel threads well
Steve Steel
Read
/usr/share/doc/proc_mgt.txt
Explains Kernel threads well
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 08:05 AM
03-07-2003 08:05 AM
Re: Pthread implementation
The -lpthread threads on 11i, 11.11, are 1x1 kernel threads.
The 11iv1.6, 11.22, release changes for programs compiled on 11.22. It defaults to an MxN thread model where user threads share a pool of kernel threads.
You can control that with pthread attributes and the pthread_attr_setscope function.
There are details of the 11.22 changes in the release notes at
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=5187-0701&service=hpux&path=../5187-0701/00/00/67&title=HP-UX%2011i%20Version%201.6%20Release%20Notes
The 11iv1.6, 11.22, release changes for programs compiled on 11.22. It defaults to an MxN thread model where user threads share a pool of kernel threads.
You can control that with pthread attributes and the pthread_attr_setscope function.
There are details of the 11.22 changes in the release notes at
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=5187-0701&service=hpux&path=../5187-0701/00/00/67&title=HP-UX%2011i%20Version%201.6%20Release%20Notes
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