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