Initializes an NSDistributedLock object to use as the lock the file-system entry specified by a given path.
Original signature is '- (id)initWithPath:(NSString *)aPath'
Available in Mac OS X v10.0 and later.


- aPath (NSString)
- All of aPath up to the last component itself must exist. You can use NSFileManager to create (and set permissions) for any nonexistent intermediate directories.

An NSDistributedLock object initialized to use as the locking object the file-system entry specified by aPath.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)