def add_records_for_blocking_main_task(records_list):
    current_MPI_process = translation_state.get_current_MPI_process()
    current_task = 0  # main task

    utils.add_records_for_blocking_task(records_list, current_MPI_process, current_task)
def add_records_for_blocking_task( records_list ):
   current_MPI_process = translation_state.get_current_MPI_process()
   current_task = translation_state.get_tasks_entered_so_far()
   
   utils.add_records_for_blocking_task( records_list, current_MPI_process, current_task)