On Tue, Feb 12, 2013 at 7:08 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
I will start to analyze your patch this week.

I don't know if you have followed this ticket.
#7906 Very bad performance of generic implementation of shared_mutex on windows

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.