Reduce number of ShareMutex classes

Signed-off-by: Sven Strickroth <email@cs-ware.de>