wpiformat/wpiformat/__init__.py
def proc_init(task_pipeline_copy, verbose1_copy, verbose2_copy):
    """Common initialization for process pool worker.

    Keyword arguments:
    task_pipeline_copy -- task pipeline
    verbose1_copy -- verbose1 flag
    verbose2_copy -- verbose2 flag
    """
    global task_pipeline
    global verbose1
    global verbose2
    global print_lock

    task_pipeline = task_pipeline_copy
    verbose1 = verbose1_copy
    verbose2 = verbose2_copy
    print_lock = mp.Lock()
Common initialization for process pool worker.

    Keyword arguments:
    task_pipeline_copy -- task pipeline
    verbose1_copy -- verbose1 flag
    verbose2_copy -- verbose2 flag
    
Common initialization for process pool worker.
Common initialization for process pool worker .
def proc_init(task_pipeline_copy, verbose1_copy, verbose2_copy):
    global task_pipeline
    global verbose1
    global verbose2
    global print_lock
    task_pipeline = task_pipeline_copy
    verbose1 = verbose1_copy
    verbose2 = verbose2_copy
    print_lock = mp.Lock()
def proc_init ( task_pipeline_copy , verbose1_copy , verbose2_copy ) : global task_pipeline global verbose1 global verbose2 global print_lock task_pipeline = task_pipeline_copy verbose1 = verbose1_copy verbose2 = verbose2_copy print_lock = mp . Lock ( )
Common initialization for process pool worker.
Common initialization for process pool worker .
"""Common initialization for process pool worker.

    Keyword arguments:
    task_pipeline_copy -- task pipeline
    verbose1_copy -- verbose1 flag
    verbose2_copy -- verbose2 flag
    """
task_pipeline_copy
verbose1_copy
verbose2_copy