Skip to content

Changed the posix mutex implementation to be robust - #66

Closed
PomLover wants to merge 1 commit into
boostorg:masterfrom
PomLover:posix_robust_recursive_mutex
Closed

PomLover wants to merge 1 commit into
boostorg:masterfrom
PomLover:posix_robust_recursive_mutex

Conversation

@PomLover

@PomLover PomLover commented Nov 9, 2018 •

Copy link
Copy Markdown

Added posix robust mutex implementation to allow subsequent mutex lock can grab the lock from previous dead owner. And it also fixed the issue #65.

Hi Reviewers,
We ran into some issues while we are using boost::interprocess::named_recursive_mutex with posix implementation when the previous owner of the mutex has been dead without releasing the mutex, so all others which are waiting for the same mutex will be blocked forever. And that's why I added this fix in posix mutex implementation to avoid this issue.

…k can grab the lock from previous dead owner. And it also fixed the issue boostorg#65.
@PomLover
PomLover changed the base branch from master to develop November 9, 2018 20:08
@PomLover
PomLover changed the base branch from develop to master November 9, 2018 20:09
@PomLover PomLover closed this Nov 9, 2018
@PomLover
PomLover deleted the posix_robust_recursive_mutex branch November 9, 2018 20:11
@Dalzhim

Dalzhim commented Nov 11, 2022 •

Copy link
Copy Markdown

Why was this PR closed? It seems to be still quite relevant!

@igaztanaga

Copy link
Copy Markdown
Member

Because robust mutex support was added in the commit: 7c88937

@Dalzhim

Dalzhim commented Nov 14, 2022

Copy link
Copy Markdown

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants