Opened 12 years ago
Closed 12 years ago
#4266 closed Support Requests (wontfix)
After Restarting Process getting stuck while using Interprocess shared memory API
Reported by: | anonymous | Owned by: | Ion Gaztañaga |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | interprocess |
Version: | Boost 1.35.0 | Severity: | Showstopper |
Keywords: | shared_memory | Cc: | aditya.sinha@… |
Description
WE are interprocess shared memory for caching data across restart. Recently while testing it is found that thread are hanged while acquiring process shared mutex which is member named m_header in boost::interprocess::segment_manager. I think when process was restarted the m_header recursive mutex was in locked state, so when process restarted it finds the mutex in locked state.
I need a mechanism to detect sanity of such locks to detect whether mutex is in stale state.
Regards Aditya Kumar Sinha
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Sorry but robust mutexes are not supported in Interprocess. Maybe in the future.
WE are interprocess shared memory for caching data across restart. Recently while testing it is found that thread are hanged while acquiring process shared mutex which is member named m_header in boost::interprocess::segment_manager. I think when process was restarted the m_header recursive mutex was in locked state, so when process restarted it finds the mutex in locked state. I need a mechanism to detect sanity of such locks to detect whether mutex is in stale state.
Regards
Aditya Kumar Sinha