[mr3097] use membar mutex in locked containers.