|
Threads-Devel : |
Subject: Re: [Threads-devel] RFC: 1st pthread shared_mutex refactoring patch
From: Fredrik Orderud (forderud_at_[hidden])
Date: 2013-02-15 09:34:02
On Tue, Feb 12, 2013 at 7:08 PM, Vicente J. Botet Escriba <
vicente.botet_at_[hidden]> wrote:
> I will start to analyze your patch this week.
>
> I don't know if you have followed this ticket.
> #7906 <https://svn.boost.org/trac/boost/ticket/7906> Very bad
> performance of generic implementation of shared_mutex on windows<https://svn.boost.org/trac/boost/ticket/7906>
> From the performances presented it seems that the windows specific
> implementation will be needed, so maybe a windows specific implementation
> for shared priority mutex should also be needed. The problem is that the
> windows implementation contains some bugs and missing features.
>
Thank you for the update Vicente. I was not aware of the poor win32
performance for generic shared_mutex, so that of course needs to be taken
into consideration. I believe it should be feasible to refactor the pthread
& win32 shared_mutex implementations to share state_data (locking policy
logic) even though the locking "backends" are different.
Regards,
Fredrik