Mutex class prototype.