code: def _get_next_executor_id():
      """Ensure that each successive executor instance has a unique, monotonic id.
  
      The purpose of this monotonic id is to help debug and test automated
      instance creation.
      """
      global _next_executor_id
      with _executor_lock:
          executor_id = _next_executor_id
          _next_executor_id += 1
          return executor_id
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/reusable_executor.py
imports: import time
  import warnings
  import threading
  import multiprocessing
  from .process_executor import ProcessPoolExecutor, EXTRA_QUEUED_CALLS
  from .backend.context import cpu_count
  from .backend import get_context
label_desc: Use image node_id 1 for calling a global function with example usage: _get_next_executor_id() and returns: executor_id