- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX10.20 and dce threads
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
07-01-2003 07:46 AM
07-01-2003 07:46 AM
HPUX10.20 and dce threads
What DCE pthread_ functions can suspend and resume a thread?
Thank you,
Arthur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 08:00 AM
07-01-2003 08:00 AM
Re: HPUX10.20 and dce threads
There are no direct PThread APIs which can suspend and resume a thread. We have to write our own.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 08:05 AM
07-01-2003 08:05 AM
Re: HPUX10.20 and dce threads
That's true that there are no direct APIs
that suspend and resume threads.
In POSIX thread we can call pthread_kill with
SIGSTOP and SIGCONT correspondingly.
Do you have any clue what can be done with DCE threads?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 10:04 AM
07-01-2003 10:04 AM
Re: HPUX10.20 and dce threads
This is from http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000009491262
HP-UX Threads Extensions
------------------------
In addition to the POSIX threads functions, HP-UX provides the
extensions shown in the following table. These non-standardized
interfaces are subject to change; efforts are being made to standardize
them through X/Open.
Table 1-11 Additional HP threads routines
HP threads Extension, followed by Purpose
pthread_suspend():
Suspends a thread and blocks until the target thread has been
suspended. Each time a thread is suspended, its suspension count is
incremented.
pthread_continue:
Resumes execution of a suspended thread.
pthread_resume_np():
An HP-only function that provides control over how a thread is
resumed by a flags field.
pthread_num_processors_np():
Returns number of processors installed on the system.
pthread_processor_bind_np():
Binds thread to processor.
pthread_processor_id_np():
Identifies a specific processor on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2003 11:14 AM
07-01-2003 11:14 AM
Re: HPUX10.20 and dce threads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 12:28 AM
07-02-2003 12:28 AM
Re: HPUX10.20 and dce threads
There is no direct way to achieve this in DCE threads. One way is to go for a semaphore and lock on it till your desired time. You have make a seperate logic depending upon your requirements.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 05:34 AM
07-02-2003 05:34 AM
Re: HPUX10.20 and dce threads
Elena, I meant the DCE threads on 10.20, not the POSIX threads on 11.00. No vse ravno spasibo.