- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- thread create, join ---
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
Discussions
Discussions
Forums
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
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
тАО06-15-2006 12:42 AM
тАО06-15-2006 12:42 AM
thread create, join ---
thread object creation,
thread creation,
thread join,
thread exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 12:46 AM
тАО06-15-2006 12:46 AM
Re: thread create, join ---
http://h21007.www2.hp.com/dspp/files/unprotected/ProgThreads.pdf
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 01:04 AM
тАО06-15-2006 01:04 AM
Re: thread create, join ---
------------------
To start a thread, create it using the pthread_create( ) routine. This routine creates the
thread, assigns specified or default attributes, and starts execution of the function you
specified as the thread├в s start routine. A unique identifier (handle) for that thread is
returned by the pthread_create( ) routine.
Terminating a Thread:
---------------------
A thread terminates for any of the following reasons:
g The thread returns from its start routine; this is the usual case.
g The thread calls the pthread_exit( ) routine. The pthread_exit( ) routine terminates
the calling thread and returns a status value, indicating the thread├в s exit status to any
other thread that may be waiting for its termination.
g The thread is canceled by a call to the pthread_cancel( ) routine. The
pthread_cancel( ) routine requests termination of a specified thread if the thread
allows cancellation. (See Section 3.5 for more information on cancelling threads and
controlling whether or not cancellation is permitted.)
g An unhandled exception occurs in the thread.
refer man pages for:
pthread_create(3T), wait(2), pthread_join, pthread_cancel( ), pthread_exit(3T), pthread_join(3T), pthread_setcancelstate(3T),
pthread_cleanup_pop(3T), pthread_cond_wait(3T).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 01:11 AM
тАО06-15-2006 01:11 AM
Re: thread create, join ---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 04:37 PM
тАО06-15-2006 04:37 PM
Re: thread create, join ---
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 07:00 PM
тАО06-15-2006 07:00 PM