HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Interrupt delay in Pthreads
Operating System - OpenVMS
1828014
Members
1923
Online
109973
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
04-27-2010 06:42 AM
04-27-2010 06:42 AM
Interrupt delay in Pthreads
The attached C program writes 'ABCD' to the screen. However it shows a delay of about 1/5 second between characters !
The log file under VMS (Integrity) shows:
7.546: 'B' /C1 main: sending a character to tty
7.546: /55 clk: requesting interrupt
7.646: /55 clk: requesting interrupt
7.746: /A1 tty: received a command
7.746: 'B' /A2 tty: character written
Under Linux it shows:
13.469: 'C' /C1 main: sending a character to tty
13.469: /A1 tty: received a command
13.469: 'C' /A2 tty: character written
The delay may be in pthread_mutex_lock
Try it and see what you get !?
The log file under VMS (Integrity) shows:
7.546: 'B' /C1 main: sending a character to tty
7.546: /55 clk: requesting interrupt
7.646: /55 clk: requesting interrupt
7.746: /A1 tty: received a command
7.746: 'B' /A2 tty: character written
Under Linux it shows:
13.469: 'C' /C1 main: sending a character to tty
13.469: /A1 tty: received a command
13.469: 'C' /A2 tty: character written
The delay may be in pthread_mutex_lock
Try it and see what you get !?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 07:08 AM
04-27-2010 07:08 AM
Re: Interrupt delay in Pthreads
Did you enable UPCALLS by linking with /threads=uppcalls or set image flag=upcalls?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 07:14 AM
04-27-2010 07:14 AM
Re: Interrupt delay in Pthreads
It certainly looks a lot better !! We will do some more tests. Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 08:43 AM
04-27-2010 08:43 AM
Re: Interrupt delay in Pthreads
Elwin,
welcome to the OpenVMS ITRC forum.
Here is a good explanation about DECthreads and 'upcalls':
http://h71000.www7.hp.com/wizard/wiz_0446.html
Volker.
welcome to the OpenVMS ITRC forum.
Here is a good explanation about DECthreads and 'upcalls':
http://h71000.www7.hp.com/wizard/wiz_0446.html
Volker.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP