Searched refs:tid (Results 1 – 7 of 7) sorted by relevance
| /sys/kern/ |
| D | thread.c | 107 thr->tid = proc->nextThreadID++; in Thread_Create() 158 thr->tid = proc->nextThreadID++; in Thread_UThreadCreate() 229 Thread_Lookup(Process *proc, uint64_t tid) in Thread_Lookup() argument 236 if (t->tid == tid) { in Thread_Lookup() 279 Thread_Wait(Thread *thr, uint64_t tid) in Thread_Wait() argument 286 if (tid == TID_ANY) { in Thread_Wait() 300 if (t->tid == tid) { in Thread_Wait() 341 kprintf("tid %llu\n", thr->tid); in Thread_Dump() 363 kprintf("Running Thread CPU %d: %d(%016llx) %d\n", i, thr->tid, thr, thr->ctxSwitches); in Debug_Threads() 369 kprintf("Runnable Thread: %d(%016llx) %d\n", thr->tid, thr, thr->ctxSwitches); in Debug_Threads() [all …]
|
| D | syscall.c | 410 threadId = newThread->tid; in Syscall_ThreadCreate() 420 uint64_t tid = cur->tid; in Syscall_GetTID() local 424 return tid; in Syscall_GetTID() 480 Syscall_ThreadWait(uint64_t tid) in Syscall_ThreadWait() argument 496 status = Thread_Wait(cur, tid); in Syscall_ThreadWait()
|
| D | semaphore.c | 114 kprintf("waiting: %d:%d\n", thr->proc->pid, thr->tid); in Debug_Semaphores()
|
| /lib/libc/posix/ |
| D | pthread.c | 22 uint64_t tid; member 66 thr->tid = OSGetTID(); in __pthread_init() 74 TAILQ_INSERT_HEAD(&__threads[thr->tid % THREAD_HASH_SLOTS], thr, threadTable); in __pthread_init() 81 int tid = OSGetTID(); in pthread_self() local 85 TAILQ_FOREACH(thr, &__threads[tid % THREAD_HASH_SLOTS], threadTable) { in pthread_self() 86 if (thr->tid == tid) { in pthread_self() 130 thr->tid = SYSCALL_VALUE(status); in pthread_create() 133 TAILQ_INSERT_HEAD(&__threads[thr->tid % THREAD_HASH_SLOTS], thr, threadTable); in pthread_create() 163 TAILQ_REMOVE(&__threads[thr->tid % THREAD_HASH_SLOTS], thr, threadTable); in pthread_join()
|
| /sys/include/ |
| D | thread.h | 36 uint64_t tid; member 112 Thread *Thread_Lookup(Process *proc, uint64_t tid); 115 uint64_t Thread_Wait(Thread *thr, uint64_t tid);
|
| /lib/libc/ |
| D | syscall.c | 131 OSThreadWait(uint64_t tid) in OSThreadWait() argument 133 return syscall(SYSCALL_THREADWAIT, tid); in OSThreadWait()
|
| /include/ |
| D | syscall.h | 37 int OSThreadWait(uint64_t tid);
|