added missing code into modified OSMutexPend()
fixed till 6.1