- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pthread_mutex_unlock() causes my application to cr...
Operating System - HP-UX
1819814
Members
4187
Online
109607
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
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
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-16-2005 04:55 AM
03-16-2005 04:55 AM
pthread_mutex_unlock() causes my application to crash
We call pthread_mutex_unlock() and pass the address of a mutex (e.g pthread_mutex_unlock(&my_mutex). ) In the case that my_mutex got corrupted then my application will abort... Is there a way that we can check the validity of the mutex before we pass it to the system call pthread_mutex_unlock(). Thanks for your help on this one
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2005 05:09 AM
03-17-2005 05:09 AM
Re: pthread_mutex_unlock() causes my application to crash
Checking the validity of a mutext would only be treating a symptom, not what would seem to be root-cause - which is the corruption of memory in the first place.
What would your application do upon discoving a corrupt mutex? How does it know that something else, even more critical was not corrupted?
So, it seems you would be best-off finding the source of the corruption and fixing it.
What would your application do upon discoving a corrupt mutex? How does it know that something else, even more critical was not corrupted?
So, it seems you would be best-off finding the source of the corruption and fixing it.
there is no rest for the wicked yet the virtuous have no pillows
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP