Initializes a mutex object and sets it as the monitor for obj.
In: obj must not already have a monitor.
Initializes a mutex object and sets it as the monitor for obj.
In: obj must not already have a monitor.