Searched refs:tid (Results 1 - 25 of 37) sorted by relevance

12

/seL4-refos-master/libs/libmuslc/src/stdio/
H A D__lockfile.c6 int owner, tid = __pthread_self()->tid; local
7 if (f->lock == tid)
9 while ((owner = a_cas(&f->lock, 0, tid)))
H A Dftrylockfile.c24 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 Daffinity.c7 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 Dpthread_getcpuclockid.c5 *clockid = (-t->tid-1)*8U + 6;
H A D__unmapself.c20 int tid=__pthread_self()->tid; local
23 while (lock || a_cas(&lock, 0, tid))
H A Dpthread_getschedparam.c10 r = -__syscall(SYS_sched_getparam, t->tid, param);
12 *policy = __syscall(SYS_sched_getscheduler, t->tid);
H A Dpthread_mutex_consistent.c6 if ((m->_m_lock & 0x7fffffff) != __pthread_self()->tid)
H A Dpthread_mutex_trylock.c8 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 Dsynccall.c13 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 Dpthread_kill.c7 r = t->dead ? ESRCH : -__syscall(SYS_tkill, t->tid, sig);
H A Dpthread_setschedparam.c7 r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param);
H A Dpthread_setschedprio.c7 r = t->dead ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio);
H A Dpthread_join.c14 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 Dpthread_mutex_timedlock.c21 && (r&0x7fffffff) == __pthread_self()->tid)
H A Dpthread_mutex_unlock.c13 if ((m->_m_lock&0x7fffffff) != self->tid)
H A Dpthread_setname_np.c20 snprintf(f, sizeof f, "/proc/self/task/%d/comm", thread->tid);
/seL4-refos-master/libs/libmuslc/src/signal/
H A Draise.c8 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 Daio_suspend.c12 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 Dtimeout.h37 unsigned long tid; /* timer ID */ member in struct:fe
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dtimeout.h37 unsigned long tid; /* timer ID */ member in struct:fe
/seL4-refos-master/libs/libmuslc/src/thread/powerpc64/
H A Dclone.s9 # 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 Dclone.s9 # 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 Dclone.s15 # 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 Dfork.c27 self->tid = __syscall(SYS_gettid);
/seL4-refos-master/seL4_tools/cmake-tool/helpers/
H A Dcmakerepl20 get_filename_component(tid ${tid_path} NAME)
21 set(state_dir "$ENV{HOME}/.cmakerepl/tid/")

Completed in 62 milliseconds

12