/openbsd/usr.sbin/unbound/testcode/ |
H A D | asynclook.c | 174 int thread_num; member 304 log_thread_set(&inf->thread_num); in ext_thread() 305 if(inf->thread_num > NUMTHR*2/3) { in ext_thread() 332 } else if(inf->thread_num > NUMTHR/2) { in ext_thread() 346 if(inf->thread_num > NUMTHR/2) { in ext_thread() 368 inf[i].thread_num = i+2; in ext_test()
|
/openbsd/usr.sbin/unbound/cachedb/ |
H A D | redis.c | 244 log_assert(env->alloc->thread_num < d->numctxs); in redis_command() 245 ctx = d->ctxs[env->alloc->thread_num]; in redis_command() 252 d->ctxs[env->alloc->thread_num] = ctx; in redis_command() 265 d->ctxs[env->alloc->thread_num] = NULL; in redis_command()
|
/openbsd/usr.sbin/unbound/util/shm_side/ |
H A D | shm_main.c | 234 …worker->thread_num, worker->daemon, (unsigned)worker->env.now_tv->tv_sec, (unsigned)worker->daemon… in shm_main_run() 237 offset = worker->thread_num + 1; in shm_main_run() 245 if (worker->thread_num == 0) { in shm_main_run()
|
/openbsd/usr.sbin/unbound/util/ |
H A D | alloc.h | 82 int thread_num; member 108 int thread_num);
|
H A D | alloc.c | 104 int thread_num) in alloc_init() argument 108 alloc->thread_num = thread_num; in alloc_init() 109 alloc->next_id = (uint64_t)thread_num; /* in steps, so that type */ in alloc_init() 204 alloc->next_id = (uint64_t)alloc->thread_num; in alloc_get_id()
|
/openbsd/sbin/unwind/libunbound/util/ |
H A D | alloc.h | 82 int thread_num; member 108 int thread_num);
|
H A D | alloc.c | 104 int thread_num) in alloc_init() argument 108 alloc->thread_num = thread_num; in alloc_init() 109 alloc->next_id = (uint64_t)thread_num; /* in steps, so that type */ in alloc_init() 204 alloc->next_id = (uint64_t)alloc->thread_num; in alloc_get_id()
|
/openbsd/usr.sbin/unbound/libunbound/ |
H A D | libworker.h | 70 int thread_num; member
|
H A D | libworker.c | 151 w->thread_num = w->env->alloc->thread_num; in libworker_setup() 338 log_thread_set(&w->thread_num); in libworker_dobg() 387 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
|
/openbsd/sbin/unwind/libunbound/libunbound/ |
H A D | libworker.h | 70 int thread_num; member
|
H A D | libworker.c | 151 w->thread_num = w->env->alloc->thread_num; in libworker_setup() 338 log_thread_set(&w->thread_num); in libworker_dobg() 387 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
|
/openbsd/usr.sbin/unbound/daemon/ |
H A D | worker.h | 84 int thread_num; member
|
H A D | worker.c | 166 if(worker->thread_num == 0) in worker_mem_report() 2039 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb() 2080 worker->thread_num = id; in worker_create() 2272 && worker->thread_num == 0 in worker_init() 2290 && worker->thread_num == 0 in worker_init() 2300 && worker->thread_num == 0 in worker_init() 2334 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete() 2348 if(worker->thread_num == 0) { in worker_delete() 2356 && worker->thread_num == 0 in worker_delete() 2416 if(worker->thread_num == 0) in worker_start_accept() [all …]
|
H A D | daemon.c | 619 log_thread_set(&worker->thread_num); in thread_start() 624 close_other_pipes(worker->daemon, worker->thread_num); in thread_start() 628 port_num = worker->thread_num % worker->daemon->num_ports; in thread_start()
|
H A D | stats.c | 404 who->thread_num in server_stats_obtain()
|
H A D | remote.c | 2459 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
|
/openbsd/sbin/unwind/libunbound/daemon/ |
H A D | worker.h | 84 int thread_num; member
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | remote.c | 2795 ULONGEST thread_num = -1; in remote_wait() local 2869 p_temp = unpack_varlen_hex (++p1, &thread_num); in remote_wait() 2870 record_currthread (thread_num); in remote_wait() 2922 record_currthread (thread_num); in remote_wait() 2965 if (thread_num != -1) in remote_wait() 2967 return pid_to_ptid (thread_num); in remote_wait() 2978 ULONGEST thread_num = -1; in remote_async_wait() local 3058 record_currthread (thread_num); in remote_async_wait() 3111 record_currthread (thread_num); in remote_async_wait() 3157 if (thread_num != -1) in remote_async_wait() [all …]
|
H A D | ChangeLog-2002 | 5705 thread_num from int to ULONGEST.
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerLLGS.cpp | 861 uint32_t thread_num = 0; in PrepareStopReplyPacketForThread() local 863 if (thread_num > 0) in PrepareStopReplyPacketForThread() 866 ++thread_num; in PrepareStopReplyPacketForThread() 875 if (thread_num > 1) { in PrepareStopReplyPacketForThread()
|