def METHOD_NAME(queue, dataloader, iter_counter, opt, render_layer):
    if isinstance(dataloader, list):
        tasks = [Process(target=prefetch_data, args=(queue, dataloader[i], iter_counter, opt, render_layer[i])) for i in
                 range(opt.render_thread)]
    else:
        tasks = [Process(target=prefetch_data, args=(queue, dataloader, iter_counter, opt, render_layer)) for i in
                 range(opt.render_thread)]
    # task.daemon = True
    for task in tasks:
        task.start()
    return tasks