Home
last modified time | relevance | path

Searched refs:thread_num (Results 1 – 20 of 20) sorted by relevance

/openbsd/usr.sbin/unbound/testcode/
H A Dasynclook.c174 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 Dredis.c244 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 Dshm_main.c234 …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 Dalloc.h82 int thread_num; member
108 int thread_num);
H A Dalloc.c104 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 Dalloc.h82 int thread_num; member
108 int thread_num);
H A Dalloc.c104 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 Dlibworker.h70 int thread_num; member
H A Dlibworker.c151 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 Dlibworker.h70 int thread_num; member
H A Dlibworker.c151 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 Dworker.h84 int thread_num; member
H A Dworker.c166 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 Ddaemon.c619 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 Dstats.c404 who->thread_num in server_stats_obtain()
H A Dremote.c2459 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
/openbsd/sbin/unwind/libunbound/daemon/
H A Dworker.h84 int thread_num; member
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dremote.c2795 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 DChangeLog-20025705 thread_num from int to ULONGEST.
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp861 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()