Пример #1
0
def is_loaded_to_shm(path, ftok_id=0):
    """
    Returns True if hand rank file loaded to shm and False otherwise or on error

    path    : ftok path param to generate shm key
    ftok_id : ftok id param to generate shm key
    """
    return _rayeval.is_loaded_to_shm(path, ftok_id)
Пример #2
0
def is_loaded_to_shm(path, ftok_id=0):
    """
    Returns True if hand rank file loaded to shm and False otherwise or on error

    path    : ftok path param to generate shm key
    ftok_id : ftok id param to generate shm key
    """
    return _rayeval.is_loaded_to_shm(path, ftok_id)
Пример #3
0
def is_loaded_to_shm_9(path=None, ftok_id=0):
    """
    Returns True if 9-card hand rank file loaded to shm and False otherwise or on error

    path    : ftok path param to generate shm key
    ftok_id : ftok id param to generate shm key
    """
    path = get_handranks_9_filename() if path is None else path
    return _rayeval.is_loaded_to_shm(path, ftok_id)
Пример #4
0
def is_loaded_to_shm_9(path=None, ftok_id=0):
    """
    Returns True if 9-card hand rank file loaded to shm and False otherwise or on error

    path    : ftok path param to generate shm key
    ftok_id : ftok id param to generate shm key
    """
    path = get_handranks_9_filename() if path is None else path
    return _rayeval.is_loaded_to_shm(path, ftok_id)