class for interthread AND interprocess mutex