mtapi_cpp_wait_task-snippet.h 192 Bytes
Newer Older
1 2 3 4
    mtapi_status_t task_status = task.Wait(MTAPI_INFINITE);
    if (task_status != MTAPI_SUCCESS) {
      printf("task failed with error: %d\n\n", task_status);
      exit(task_status);
5
    }