'@param name: The name of the lock to acquire
@param scheduler: An object which provides L{IReactorTime}'

def __init__(self, name, scheduler=None):

    lockfile.FilesystemLock.__init__(self, name)
    if (scheduler is None):
        from twisted.internet import reactor
        scheduler = reactor
    self._scheduler = scheduler
