code: def omp_task_final():
      import omp
      from time import sleep
  
      error = 0
      NUM_TASKS = 25
      tids = list(range(NUM_TASKS))
  
      if "omp parallel":
          if "omp single":
              for i in range(NUM_TASKS):
                  myi = i
                  if "omp task final(i>=10) private(k) firstprivate(myi)":
                      sleep(0.01)
                      tids[myi] = omp.get_thread_num()
              "omp taskwait"
  
      for i in range(10, NUM_TASKS):
          if tids[10] != tids[i]:
              print(i, tids[10], tids[i])
              error += 1
  
      print(error)
      return error == 0
  
label_desc: Use image node_id 1 for calling a global function with example usage: omp_task_final() and returns: unknown