Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dtcsd_threads.c91 UINT32 thread_num = -1; in tcsd_thread_create() local
128 for (thread_num = 0; thread_num < tm->max_threads; thread_num++) { in tcsd_thread_create()
129 if (tm->thread_data[thread_num].thread_id == THREAD_NULL) in tcsd_thread_create()
133 DBG_ASSERT(thread_num != tm->max_threads); in tcsd_thread_create()
135 tm->thread_data[thread_num].sock = socket; in tcsd_thread_create()
136 tm->thread_data[thread_num].context = NULL_TCS_HANDLE; in tcsd_thread_create()
138 tm->thread_data[thread_num].hostname = hostname; in tcsd_thread_create()
141 (void)tcsd_thread_run((void *)(&(tm->thread_data[thread_num]))); in tcsd_thread_create()
143 tm->thread_data[thread_num].thread_id = calloc(1, sizeof(THREAD_TYPE)); in tcsd_thread_create()
144 if (tm->thread_data[thread_num].thread_id == NULL) { in tcsd_thread_create()
[all …]
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/libunbound/
H A Dlibworker.h70 int thread_num; member
H A Dlibworker.c155 w->thread_num = w->env->alloc->thread_num; in libworker_setup()
353 log_thread_set(&w->thread_num); in libworker_dobg()
402 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
/netbsd-src/external/bsd/unbound/dist/daemon/
H A Dworker.h84 int thread_num; member
H A Dworker.c166 if(worker->thread_num == 0) in worker_mem_report()
2036 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb()
2077 worker->thread_num = id; in worker_create()
2224 worker->alloc = worker->daemon->worker_allocs[worker->thread_num]; in worker_init()
2281 && worker->thread_num == 0 in worker_init()
2299 && worker->thread_num == 0 in worker_init()
2309 && worker->thread_num == 0 in worker_init()
2343 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete()
2359 if(worker->thread_num == 0) { in worker_delete()
2367 && worker->thread_num == 0 in worker_delete()
[all …]
H A Ddaemon.c615 log_thread_set(&worker->thread_num); in thread_start()
620 close_other_pipes(worker->daemon, worker->thread_num); in thread_start()
624 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.c2416 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Daffinity-fmt.c252 AFFINITY_TYPE (thread_num, 'n'),
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Daffinity-fmt.c255 AFFINITY_TYPE (thread_num, 'n'),
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dutil.cc880 int thread_num; /* Application-defined thread # */ member
954 wt_info->thread_num = worker_thread_number; in dbe_dispatch_on_thread()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dutil.cc880 int thread_num; /* Application-defined thread # */ member
954 wt_info->thread_num = worker_thread_number; in dbe_dispatch_on_thread()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-low.c9954 tree thread_num = create_tmp_var (integer_type_node); in lower_omp_for_scan() local
9961 gimple_call_set_lhs (g, thread_num); in lower_omp_for_scan()
10012 tree x = fold_convert_loc (clause_loc, sizetype, thread_num); in lower_omp_for_scan()
10019 thread_num, integer_minus_one_node); in lower_omp_for_scan()
10341 g = gimple_build_cond (EQ_EXPR, thread_num, integer_zero_node, lab1, lab2); in lower_omp_for_scan()
10388 g = gimple_build_assign (thread_numu, NOP_EXPR, thread_num); in lower_omp_for_scan()
10504 g = gimple_build_cond (EQ_EXPR, thread_num, integer_zero_node, lab1, lab2); in lower_omp_for_scan()
10529 g = gimple_build_cond (EQ_EXPR, thread_num, num_threadsm1, lab1, lab2); in lower_omp_for_scan()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-low.cc10992 tree thread_num = create_tmp_var (integer_type_node); in lower_omp_for_scan() local
10999 gimple_call_set_lhs (g, thread_num); in lower_omp_for_scan()
11050 tree x = fold_convert_loc (clause_loc, sizetype, thread_num); in lower_omp_for_scan()
11057 thread_num, integer_minus_one_node); in lower_omp_for_scan()
11379 g = gimple_build_cond (EQ_EXPR, thread_num, integer_zero_node, lab1, lab2); in lower_omp_for_scan()
11426 g = gimple_build_assign (thread_numu, NOP_EXPR, thread_num); in lower_omp_for_scan()
11541 g = gimple_build_cond (EQ_EXPR, thread_num, integer_zero_node, lab1, lab2); in lower_omp_for_scan()
11566 g = gimple_build_cond (EQ_EXPR, thread_num, num_threadsm1, lab1, lab2); in lower_omp_for_scan()
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-2010441 (struct until_break_command_continuation_args) <thread_num>: New
H A DChangeLog-20025696 thread_num from int to ULONGEST.
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-2010441 (struct until_break_command_continuation_args) <thread_num>: New
H A DChangeLog-20025696 thread_num from int to ULONGEST.