def init_thread(r, f, x, c):
    """
    to initialise multithreaded worker
    """
    global requested_count, found_count, extracted_count, corrupted_count
    requested_count = r
    found_count = f
    extracted_count = x
    corrupted_count = c
