Lines Matching refs:status
111 uint64_t status;
124 status = OSThreadCreate((uintptr_t)&pthreadCreateHelper, (uint64_t)thr);
125 if (SYSCALL_ERRCODE(status) != 0) {
127 return SYSCALL_ERRCODE(status);
130 thr->tid = SYSCALL_VALUE(status);
155 uint64_t status = OSThreadWait(0);//thr->tid);
156 if (SYSCALL_ERRCODE(status) != 0) {
157 return status;
251 int status = pthread_mutex_init(mutex, NULL);
252 if (status != 0)
253 return status;
272 int status = pthread_mutex_init(mutex, NULL);
273 if (status != 0)
274 return status;
293 int status = pthread_mutex_init(mutex, NULL);
294 if (status != 0)
295 return status;
357 int status;
362 status = pthread_cond_init(cond, NULL);
363 if (status != 0)
364 return status;
369 status = pthread_mutex_unlock(mutex);
370 if (status != 0)
371 return status;
384 status = pthread_mutex_lock(mutex);
385 if (status != 0)
386 return status;
396 int status = 0;
403 status = pthread_cond_init(cond, NULL);
404 if (status != 0)
405 return status;
410 status = pthread_mutex_unlock(mutex);
411 if (status != 0)
412 return status;
430 status = pthread_mutex_lock(mutex);
431 if (status != 0)
432 return status;
445 int status = pthread_cond_init(cond, NULL);
446 if (status != 0)
447 return status;
464 int status = pthread_cond_init(cond, NULL);
465 if (status != 0)
466 return status;