o
    tBh]                     @   sN  d Z ddlZddlZeejddpdZer)zddlZW n ey(   dZY nw edurzIddl	Z	ddl
mZ e	 ZedD ]4Zzde eeZedddedd	Z[W  n eyt Z zed
krjedeW Y dZ[q@dZ[ww W n  eeeefy Z zdZedef  W Y dZ[ndZ[ww edurddlmZ dS dZdS )zHelper module to factorize the conditional multiprocessing import logic

We use a distinct module to simplify import statements and avoid introducing
circular dependencies (for instance for the assert_spawning name).
    NJOBLIB_MULTIPROCESSING   )SemLockd   z/joblib-{}-{}T)nameunlinkc   zcannot find name for semaphorez'%s.  joblib will operate in serial mode)assert_spawning)__doc__oswarningsintenvirongetmpmultiprocessingImportErrortempfile_multiprocessingr   _RandomNameSequence_randrangeiformatgetpidnextr   _semFileExistsErroreAttributeErrorOSErrorwarnmultiprocessing.contextr	    r#   r#   v/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/joblib/_multiprocessing_helpers.py<module>   sT    