Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] posix robust mutex and EOWNERDEAD
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-07-06 18:30:09


El 06/07/2015 a las 19:43, Malko escribió:

> If there is none, I would really need to modify your files for my project to
> work, and I would appreciate if you could confirm a couple of things for me.
> In http://stackoverflow.com/a/1179766/4598277 it is mentioned to modify two
> files:
> 1. posix/thread_helpers.hpp to set the attribute (first time ever I was
> happy to get an exception :D)
> 2. posix/mutex.hpp to handle the EOWNERDEAD return value
> Can you please confirm if this would be enough? It would seem so to me, but
> I have only studied parts of your code.
>
> Thank you for the assistance.

I think that would be a start point. If you need something like
pthread_mutex_consistent() then things start to complicate.

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net