/seL4-refos-master/libs/libmuslc/src/stdio/ |
H A D | __lockfile.c | 6 int owner, tid = __pthread_self()->tid; local 7 if (f->lock == tid) 9 while ((owner = a_cas(&f->lock, 0, tid)))
|
H A D | ftrylockfile.c | 24 int tid = self->tid; local 25 if (f->lock == tid) { 32 if (f->lock || a_cas(&f->lock, 0, tid))
|
/seL4-refos-master/libs/libmuslc/src/sched/ |
H A D | affinity.c | 7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) argument 9 return syscall(SYS_sched_setaffinity, tid, size, set); 14 return -__syscall(SYS_sched_setaffinity, td->tid, size, set); 17 static int do_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument 19 long ret = __syscall(SYS_sched_getaffinity, tid, size, set); 25 int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument 27 return __syscall_ret(do_getaffinity(tid, size, set)); 32 return -do_getaffinity(td->tid, size, set);
|
/seL4-refos-master/libs/libmuslc/src/thread/ |
H A D | pthread_getcpuclockid.c | 5 *clockid = (-t->tid-1)*8U + 6;
|
H A D | __unmapself.c | 20 int tid=__pthread_self()->tid; local 23 while (lock || a_cas(&lock, 0, tid))
|
H A D | pthread_getschedparam.c | 10 r = -__syscall(SYS_sched_getparam, t->tid, param); 12 *policy = __syscall(SYS_sched_getscheduler, t->tid);
|
H A D | pthread_mutex_consistent.c | 6 if ((m->_m_lock & 0x7fffffff) != __pthread_self()->tid)
|
H A D | pthread_mutex_trylock.c | 8 int tid = self->tid; local 12 if (own == tid && (type&3) == PTHREAD_MUTEX_RECURSIVE) { 24 if (m->_m_waiters) tid |= 0x80000000; 29 || a_cas(&m->_m_lock, old, tid) != old) {
|
H A D | synccall.c | 13 int tid; member in struct:chain 31 ch.tid = __syscall(SYS_gettid); 36 if (a_cas(&target_tid, ch.tid, 0) == (ch.tid | 0x80000000)) 108 int tid = atoi(de->d_name); local 109 if (tid == self || !tid) continue; 114 * it will see its own tid in the PI futex and perform 116 a_store(&target_tid, tid); 119 for (cp = head; cp && cp->tid ! [all...] |
H A D | pthread_kill.c | 7 r = t->dead ? ESRCH : -__syscall(SYS_tkill, t->tid, sig);
|
H A D | pthread_setschedparam.c | 7 r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param);
|
H A D | pthread_setschedprio.c | 7 r = t->dead ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio);
|
H A D | pthread_join.c | 14 while ((tmp = t->tid) && r != ETIMEDOUT && r != EINVAL) 15 r = __timedwait_cp(&t->tid, tmp, CLOCK_REALTIME, at, 0); 31 return t->tid ? EBUSY : __pthread_join(t, res);
|
H A D | pthread_mutex_timedlock.c | 21 && (r&0x7fffffff) == __pthread_self()->tid)
|
H A D | pthread_mutex_unlock.c | 13 if ((m->_m_lock&0x7fffffff) != self->tid)
|
H A D | pthread_setname_np.c | 20 snprintf(f, sizeof f, "/proc/self/task/%d/comm", thread->tid);
|
/seL4-refos-master/libs/libmuslc/src/signal/ |
H A D | raise.c | 8 int tid, ret; local 11 tid = __syscall(SYS_gettid); 12 ret = syscall(SYS_tkill, tid, sig);
|
/seL4-refos-master/libs/libmuslc/src/aio/ |
H A D | aio_suspend.c | 12 int i, tid = 0, ret, expect = 0; local 56 if (!tid) tid = __pthread_self()->tid; 57 expect = a_cas(pfut, 0, tid); 58 if (!expect) expect = tid;
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | timeout.h | 37 unsigned long tid; /* timer ID */ member in struct:fe
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | timeout.h | 37 unsigned long tid; /* timer ID */ member in struct:fe
|
/seL4-refos-master/libs/libmuslc/src/thread/powerpc64/ |
H A D | clone.s | 9 # tid = syscall(SYS_clone,c,b,e,f,g); 10 # if (!tid) syscall(SYS_exit, a(d)); 11 # return tid;
|
/seL4-refos-master/libs/libmuslc/src/thread/powerpc/ |
H A D | clone.s | 9 # tid = syscall(SYS_clone,c,b,e,f,g); 10 # if (!tid) syscall(SYS_exit, a(d)); 11 # return tid;
|
/seL4-refos-master/libs/libmuslc/src/thread/s390x/ |
H A D | clone.s | 15 # tid = syscall(SYS_clone,b,c,e,g,f); 16 # if (!tid) syscall(SYS_exit, a(d)); 17 # return tid;
|
/seL4-refos-master/libs/libmuslc/src/process/ |
H A D | fork.c | 27 self->tid = __syscall(SYS_gettid);
|
/seL4-refos-master/seL4_tools/cmake-tool/helpers/ |
H A D | cmakerepl | 20 get_filename_component(tid ${tid_path} NAME) 21 set(state_dir "$ENV{HOME}/.cmakerepl/tid/")
|