Searched refs:thread_cnt (Results 1 - 3 of 3) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dstack.c94 PRInt32 thread_cnt = DEFAULT_THREAD_CNT; local
112 thread_cnt = atoi(opt->value);
145 threads = (PRThread**) PR_CALLOC(sizeof(PRThread*) * thread_cnt);
146 thread_args = (stack_data *) PR_CALLOC(sizeof(stack_data) * thread_cnt);
149 PR_fprintf(output,"%s: thread_cnt = %d data_cnt = %d\n", argv[0],
150 thread_cnt, data_cnt);
151 for(cnt = 0; cnt < thread_cnt; cnt++) {
182 for(cnt = 0; cnt < thread_cnt; cnt++) {
197 cnt = data_cnt * thread_cnt;
226 if (sum == SUM_OF_NUMBERS(data_cnt * thread_cnt)) {
[all...]
H A Drwlocktest.c81 PRInt32 thread_cnt = DEFAULT_THREAD_CNT; local
99 thread_cnt = atoi(opt->value);
122 threads = (PRThread**) PR_CALLOC(sizeof(PRThread*) * thread_cnt);
123 params = (thread_args *) PR_CALLOC(sizeof(thread_args) * thread_cnt);
139 PR_fprintf(output,"%s: thread_cnt = %d loop_cnt = %d\n", argv[0],
140 thread_cnt, loop_cnt);
141 for(cnt = 0; cnt < thread_cnt; cnt++) {
171 for(cnt = 0; cnt < thread_cnt; cnt++) {
H A Dforeign.c368 PRInt32 thread_cnt = DEFAULT_THREAD_COUNT; local
394 thread_cnt = atoi(opt->value);
406 while (thread_cnt-- > 0)
408 rv = CreateThread(OneShot, (void*)thread_cnt);

Completed in 38 milliseconds