Lines Matching refs:kr
111 kern_return_t kr = thread_policy_set((thread_t)pThread->Core.Key, THREAD_PRECEDENCE_POLICY,
113 AssertMsg(kr == KERN_SUCCESS, ("%rc\n", kr)); NOREF(kr);
117 kr = thread_policy_set((thread_t)pThread->Core.Key, THREAD_EXTENDED_POLICY,
119 AssertMsg(kr == KERN_SUCCESS, ("%rc\n", kr));
124 kr = thread_policy_set((thread_t)pThread->Core.Key, THREAD_TIME_CONSTRAINT_POLICY,
126 AssertMsg(kr == KERN_SUCCESS, ("%rc\n", kr));
167 kern_return_t kr = thread_terminate(Self);
168 AssertFatalMsgFailed(("kr=%d\n", kr));
177 kern_return_t kr = kernel_thread_start(rtThreadNativeMain, pThreadInt, &NativeThread);
178 if (kr == KERN_SUCCESS)
184 return RTErrConvertFromMachKernReturn(kr);