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

/netbsd-current/tests/lib/libc/sys/
H A Dt_futex_robust.c63 lwpid_t threadid; member in struct:lwp_data
83 lwp_data.threadid = 0;
116 d->threadid = _lwp_self();
148 d->threadid = _lwp_self();
180 d->threadid = _lwp_self();
203 d->threadid = _lwp_self();
235 d->threadid = _lwp_self();
268 lwp_data.threadid);
298 lwp_data.threadid);
357 lwp_data.threadid);
[all...]
H A Dt_futex_ops.c74 lwpid_t threadid; member in struct:lwp_data
160 d->threadid = 0;
169 d->threadid = _lwp_self();
279 d->threadid = _lwp_self();
1313 ATF_REQUIRE(_lwp_kill(lwp_data[0].threadid, SIGUSR1) == 0);
1348 d->threadid = _lwp_self();
1350 ATF_REQUIRE(_sched_getparam(getpid(), d->threadid, &policy, &sp) == 0);
1353 ATF_REQUIRE(_sched_setparam(getpid(), d->threadid, policy, &sp) == 0);
1365 d->threadid = _lwp_self();
1367 ATF_REQUIRE(_sched_getparam(getpid(), d->threadid,
[all...]
/netbsd-current/external/gpl2/lvm2/dist/daemons/clvmd/
H A Dclvmd.h62 pthread_t threadid; member in struct:localsock_bits
73 pthread_t threadid; /* Our own copy of the thread id */ member in struct:pipe_bits
H A Dclvmd.c546 newfd->bits.localsock.threadid = 0;
589 if (thisfd->bits.pipe.threadid) {
590 jstat = pthread_join(thisfd->bits.pipe.threadid, &ret);
591 thisfd->bits.pipe.threadid = 0;
594 threadid = 0;
675 if (client->bits.localsock.threadid) {
966 pthread_kill(thisfd->bits.localsock.threadid, SIGUSR2);
977 if (thisfd->bits.localsock.threadid) {
985 pthread_join(thisfd->bits.localsock.threadid,
989 thisfd->bits.localsock.threadid
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/
H A Dmem_dbg.c50 CRYPTO_THREAD_ID threadid; member in struct:app_mem_info_st
69 CRYPTO_THREAD_ID threadid; member in struct:mem_st
281 ami->threadid = CRYPTO_THREAD_get_current_id();
350 m->threadid = CRYPTO_THREAD_get_current_id();
492 tid.tid = m->threadid;
514 ti = amip->threadid;
526 tid.tid = amip->threadid;
552 while (amip && CRYPTO_THREAD_compare_id(amip->threadid, ti));
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/gcn/
H A Dteam.c46 int threadid = __builtin_gcn_dim_pos (1); local
48 if (threadid == 0)
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/gcn/
H A Dteam.c46 int threadid = __builtin_gcn_dim_pos (1); local
48 if (threadid == 0)
/netbsd-current/external/gpl3/gdb.old/dist/sim/cris/
H A Dsim-main.h50 unsigned int threadid;
49 unsigned int threadid; member in struct:cris_thread_info
H A Dtraps.c1296 if (current_cpu->thread_data[i].threadid == pid - TARGET_PID)
1657 : TARGET_PID + current_cpu->thread_data[threadno].threadid;
1949 if (current_cpu->thread_data[threadno].threadid
1951 && current_cpu->thread_data[i].threadid != 0
1960 = current_cpu->thread_data[i].threadid + TARGET_PID;
1971 if (pid == current_cpu->thread_data[i].threadid + TARGET_PID
1983 = current_cpu->thread_data[i].threadid + TARGET_PID;
3034 = current_cpu->thread_data[threadno].threadid + TARGET_PID;
3043 == current_cpu->thread_data[threadno].threadid)
3139 && current_cpu->thread_data[i].threadid
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/cris/
H A Dsim-main.h50 unsigned int threadid;
49 unsigned int threadid; member in struct:cris_thread_info
H A Dtraps.c1271 if (current_cpu->thread_data[i].threadid == pid - TARGET_PID)
1631 : TARGET_PID + current_cpu->thread_data[threadno].threadid;
1923 if (current_cpu->thread_data[threadno].threadid
1925 && current_cpu->thread_data[i].threadid != 0
1934 = current_cpu->thread_data[i].threadid + TARGET_PID;
1945 if (pid == current_cpu->thread_data[i].threadid + TARGET_PID
1957 = current_cpu->thread_data[i].threadid + TARGET_PID;
3008 = current_cpu->thread_data[threadno].threadid + TARGET_PID;
3017 == current_cpu->thread_data[threadno].threadid)
3113 && current_cpu->thread_data[i].threadid
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dtask.c107 int threadid; member in struct:isc_task
204 isc_task_t **taskp, int threadid) {
218 if (threadid == -1) {
220 * Task is not pinned to a queue, it's threadid will be
225 task->threadid = -1;
232 task->threadid = threadid;
345 isc_nm_task_enqueue(manager->netmgr, task, task->threadid);
427 c = task->threadid;
434 task->threadid
203 isc_task_create_bound(isc_taskmgr_t *manager, unsigned int quantum, isc_task_t **taskp, int threadid) argument
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dsocket.c345 int threadid; member in struct:isc_socket
395 int threadid; member in struct:isc__socketthread
627 thread->threadid, msgbuf);
941 select_poke(isc_socketmgr_t *mgr, int threadid, int fd, int msg) { argument
950 cc = write(mgr->threads[threadid].pipe_fds[1], buf,
1824 select_poke(thread->manager, thread->threadid, fd,
1887 thread = &manager->threads[sock->threadid];
1889 sock->threadid = -1;
1924 sock->threadid = -1;
2528 sock->threadid
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/include/isc/
H A Dtask.h98 isc_task_t **taskp, int threadid);
100 * Create a task, optionally bound to a particular threadid.
H A Dnetmgr.h762 isc_nm_task_enqueue(isc_nm_t *mgr, isc_task_t *task, int threadid);
769 * \li 'threadid' is either the preferred netmgr tid or -1, in which case
770 * tid will be picked randomly. The threadid is capped (by modulo) to
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dtask.c107 int threadid; member in struct:isc_task
205 isc_task_t **taskp, int threadid) {
219 if (threadid == -1) {
221 * Task is not pinned to a queue, it's threadid will be
226 task->threadid = -1;
233 task->threadid = threadid;
349 isc_nm_task_enqueue(manager->netmgr, task, task->threadid);
431 c = task->threadid;
438 task->threadid
204 isc_task_create_bound(isc_taskmgr_t *manager, unsigned int quantum, isc_task_t **taskp, int threadid) argument
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dtask.h110 isc_task_t **taskp, int threadid);
112 * Create a task, optionally bound to a particular threadid.
H A Dnetmgr.h491 isc_nm_task_enqueue(isc_nm_t *mgr, isc_task_t *task, int threadid);
498 * \li 'threadid' is either the preferred netmgr tid or -1, in which case
499 * tid will be picked randomly. The threadid is capped (by modulo) to
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Domp-expand.c3621 if (threadid < tt) goto L3; else goto L4;
3626 s0 = q * threadid + tt;
3644 tree n, q, s0, e0, e, t, tt, nthreads = NULL_TREE, threadid; local
3846 threadid = builtin_decl_explicit (BUILT_IN_OMP_GET_THREAD_NUM);
3850 threadid = builtin_decl_explicit (BUILT_IN_OMP_GET_TEAM_NUM);
3859 threadid = build_call_expr (threadid, 0);
3860 threadid = fold_convert (itype, threadid);
3861 threadid
4446 tree trip_var, trip_init, trip_main, trip_back, nthreads, threadid; local
8548 tree threadid; local
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/netmgr/
H A Dnetmgr.c843 isc_nm_task_enqueue(isc_nm_t *nm, isc_task_t *task, int threadid) { argument
848 if (threadid == -1) {
850 } else if (threadid == ISC_NM_TASK_SLOW_OFFSET) {
853 } else if (threadid < ISC_NM_TASK_SLOW_OFFSET) {
854 tid = nm->nlisteners + (ISC_NM_TASK_SLOW(threadid) %
857 tid = threadid % nm->nlisteners;
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/
H A Dnetmgr.c820 isc_nm_task_enqueue(isc_nm_t *nm, isc_task_t *task, int threadid) { argument
825 if (threadid == -1) {
827 } else if (threadid == ISC_NM_TASK_SLOW_OFFSET) {
830 } else if (threadid < ISC_NM_TASK_SLOW_OFFSET) {
831 tid = nm->nlisteners + (ISC_NM_TASK_SLOW(threadid) %
834 tid = threadid % nm->nlisteners;
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Domp-expand.cc4830 if (threadid < tt) goto L3; else goto L4;
4835 s0 = q * threadid + tt;
4853 tree n, q, s0, e0, e, t, tt, nthreads = NULL_TREE, threadid; local
5046 threadid = builtin_decl_explicit (BUILT_IN_OMP_GET_THREAD_NUM);
5050 threadid = builtin_decl_explicit (BUILT_IN_OMP_GET_TEAM_NUM);
5059 threadid = build_call_expr (threadid, 0);
5060 threadid = fold_convert (itype, threadid);
5061 threadid
5646 tree trip_var, trip_init, trip_main, trip_back, nthreads, threadid; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dremote.c794 int remote_get_threadinfo (threadref *threadid, int fieldset,
2906 threadref threadid; /* External form of thread reference. */
3231 threadid:1, # always request threadid
3238 /* Encoding: 'Q':8,'P':8,mask:32,threadid:64 */
3246 pkt = pack_threadid (pkt, id); /* threadid */
3275 /* info->threadid = 0; FIXME: implement zero_threadref. */
3293 copy_threadref (&info->threadid, &ref);
3312 warning (_("ERROR RMT: length of threadid is not 16."));
3358 remote_target::remote_get_threadinfo (threadref *threadid,
2902 threadref threadid; /* External form of thread reference. */ member in struct:gdb_ext_thread_info
3354 remote_get_threadinfo(threadref *threadid, int fieldset, gdb_ext_thread_info *info) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dremote.c803 int remote_get_threadinfo (threadref *threadid, int fieldset,
3041 threadref threadid; /* External form of thread reference. */
3367 threadid:1, # always request threadid
3374 /* Encoding: 'Q':8,'P':8,mask:32,threadid:64 */
3382 pkt = pack_threadid (pkt, id); /* threadid */
3411 /* info->threadid = 0; FIXME: implement zero_threadref. */
3429 copy_threadref (&info->threadid, &ref);
3448 warning (_("ERROR RMT: length of threadid is not 16."));
3494 remote_target::remote_get_threadinfo (threadref *threadid,
3037 threadref threadid; /* External form of thread reference. */ member in struct:gdb_ext_thread_info
3490 remote_get_threadinfo(threadref *threadid, int fieldset, gdb_ext_thread_info *info) argument
[all...]
/netbsd-current/external/public-domain/sqlite/dist/
H A Dsqlite3.c38380 #define threadid macro
38382 #define threadid macro
[all...]

Completed in 736 milliseconds