| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcsd/ |
| H A D | tcsd_threads.c | 91 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 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()
|
| /netbsd-src/external/bsd/unbound/dist/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()
|
| /netbsd-src/external/bsd/unbound/dist/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()
|
| /netbsd-src/external/bsd/unbound/dist/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()
|
| /netbsd-src/external/bsd/unbound/dist/libunbound/ |
| H A D | libworker.h | 70 int thread_num; member
|
| H A D | libworker.c | 155 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 D | worker.h | 84 int thread_num; member
|
| H A D | worker.c | 166 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 D | daemon.c | 615 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 D | stats.c | 404 who->thread_num in server_stats_obtain()
|
| H A D | remote.c | 2416 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgomp/ |
| H A D | affinity-fmt.c | 252 AFFINITY_TYPE (thread_num, 'n'),
|
| /netbsd-src/external/gpl3/gcc/dist/libgomp/ |
| H A D | affinity-fmt.c | 255 AFFINITY_TYPE (thread_num, 'n'),
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | util.cc | 880 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 D | util.cc | 880 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 D | omp-low.c | 9954 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 D | omp-low.cc | 10992 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 D | ChangeLog-2010 | 441 (struct until_break_command_continuation_args) <thread_num>: New
|
| H A D | ChangeLog-2002 | 5696 thread_num from int to ULONGEST.
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/ |
| H A D | ChangeLog-2010 | 441 (struct until_break_command_continuation_args) <thread_num>: New
|
| H A D | ChangeLog-2002 | 5696 thread_num from int to ULONGEST.
|