'Returns a boolean to indicate whether the wait has timeout'

def wait_until_ne_one(self, timeout=None):

    one = 1
    mhz = (10 ** 6)
    if (timeout is None):
        expire = (-1)
    else:
        expire = ((timeout * hsa.timestamp_frequency) * mhz)
    hsa.hsa_signal_wait_acquire(self._id, enums.HSA_SIGNAL_CONDITION_NE, one, expire, enums.HSA_WAIT_STATE_BLOCKED)
    return (self.load_relaxed() != one)
