def METHOD_NAME(self, timeout):
    """
    The timeout should be zero or greater, or -1 to wait indefinitely.
    wait or poll process status, return return code
    """
    return utils.lib.zproc_wait(self._p, timeout)