- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Thread halt in CPP code and clears its stack
Operating System - OpenVMS
1753971
Members
8031
Online
108811
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
Discussions
Discussions
Forums
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
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
тАО08-13-2008 10:28 AM
тАО08-13-2008 10:28 AM
Thread halt in CPP code and clears its stack
Hello,
When we execute CPP code, in the following order, the thread gets struck/halt.
int32_t var;
int32_t var = *(int32_t *)foo.chArray;
foo is a class that contains a public for chArray.
chArray is defined as:
char*& chArray; // alias
chArray is initialized by the following statement in the constructor of the foo object.
chArray((char*&)(f_vector[1].iov_base))
// point to the buffer in the io vector table
Thanks for all your help in advance
Regards
Vinod kumar
When we execute CPP code, in the following order, the thread gets struck/halt.
int32_t var;
int32_t var = *(int32_t *)foo.chArray;
foo is a class that contains a public for chArray.
chArray is defined as:
char*& chArray; // alias
chArray is initialized by the following statement in the constructor of the foo object.
chArray((char*&)(f_vector[1].iov_base))
// point to the buffer in the io vector table
Thanks for all your help in advance
Regards
Vinod kumar
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 01:35 PM
тАО08-13-2008 01:35 PM
Re: Thread halt in CPP code and clears its stack
Vinod,
You'll need to post a clearer problem description. Please post the exact steps you're performing, and the exact and complete text of any resulting error messages.
If possible post a small reproducer (a complete, runnable example).
You'll need to post a clearer problem description. Please post the exact steps you're performing, and the exact and complete text of any resulting error messages.
If possible post a small reproducer (a complete, runnable example).
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2008 12:43 AM
тАО08-15-2008 12:43 AM
Re: Thread halt in CPP code and clears its stack
What is the type of iov_base? Is it a int32_t*?
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP