layers: threading - use std mutex

Change-Id: I773ea148807e5b634ad021ea58b001cd3d1bad87
2 files changed