Due to the complex nature of the test compared to other algorithms the spin_rw_mutex test includes some extra debugging support not present in other tests which was used to validate the unique reader/writer ratio support. This might come in handy in other locks algorithms or in future development and should be generalized and provided from the generic lockhammer code so it can be reused.
Due to the complex nature of the test compared to other algorithms the spin_rw_mutex test includes some extra debugging support not present in other tests which was used to validate the unique reader/writer ratio support. This might come in handy in other locks algorithms or in future development and should be generalized and provided from the generic lockhammer code so it can be reused.