'Dummy implementation of acquire().
For blocking calls, self.locked_status is automatically set to
True and returned appropriately based on value of
``waitflag``.  If it is non-blocking, then the value is
actually checked and not set if it is already acquired.  This
is all done so that threading.Condition\'s assert statements
aren\'t triggered and throw a little fit.'

def acquire(self, waitflag=None):

    if ((waitflag is None) or waitflag):
        self.locked_status = True
        return True
    else:
        if (not self.locked_status):
            self.locked_status = True
            return True
        return False
        return
