Lines Matching defs:rc
68 int rc = RTThreadCreate(&Thread, SpawnerThread, &Args, 0, RTTHREADTYPE_DEFAULT, RTTHREADFLAGS_WAITABLE, "SPAWNER");
69 if (RT_SUCCESS(rc))
73 rc = RTThreadWait(Thread, RT_INDEFINITE_WAIT, &rc2);
74 if (RT_SUCCESS(rc))
75 rc = rc2;
76 if (RT_SUCCESS(rc))
80 rc = RTProcWait(Args.Process, 0, &Status);
81 if (RT_SUCCESS(rc))
88 rc = VERR_GENERAL_FAILURE;
96 RTPrintf("tstRTWait: RTProcWait failed with rc=%Rrc!\n", rc);
99 RTPrintf("tstRTWait: RTThreadWait or SpawnerThread failed with rc=%Rrc!\n", rc);
102 RTPrintf("tstRTWait: RTThreadCreate failed with rc=%Rrc!\n", rc);
104 return RT_SUCCESS(rc) ? 0 : 1;