mutex skeleton