OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:thrd_ndx
(Results
1 - 4
of
4
) sorted by null
/external/ltp/testcases/kernel/sched/tool/
trace_sched.c
297
int
thrd_ndx
; /* index into the array of threads. */
local
384
for (
thrd_ndx
= 0;
thrd_ndx
< num_thrd;
thrd_ndx
++) {
385
args_table[
thrd_ndx
] = malloc(sizeof(thread_sched_t));
386
if (!args_table[
thrd_ndx
]) {
390
chld_args = args_table[
thrd_ndx
];
392
if (pthread_create(&thid[
thrd_ndx
], NULL, thread_func,
395
thrd_ndx
);
400
fprintf(stdout, "Created thread[%d]\n",
thrd_ndx
);
[
all
...]
/external/ltp/testcases/kernel/mem/mtest07/
shm_test.c
275
int
thrd_ndx
; /* index into the array of thread ids */
local
316
for (
thrd_ndx
= 0;
thrd_ndx
< num_thrd;
thrd_ndx
+= 2) {
324
dprt("main():
thrd_ndx
= %d map_address = %#x map_size = %d\n",
325
thrd_ndx
, map_address, map_size);
330
(&thrdid[
thrd_ndx
], NULL, shmat_rd_wr, chld_args)) {
338
(&thrdid[
thrd_ndx
+ 1], NULL, shmat_rd_wr, chld_args)) {
346
for (
thrd_ndx
= 0;
thrd_ndx
< num_thrd; thrd_ndx++)
[
all
...]
/external/ltp/testcases/kernel/mem/mtest06/
shmat1.c
393
int
thrd_ndx
; /* index into the array of threads. */
local
499
for (
thrd_ndx
= 0;
thrd_ndx
< 3;
thrd_ndx
++) {
500
if (pthread_join(thid[
thrd_ndx
], &status)) {
507
thid[
thrd_ndx
], (long)status);
/external/ltp/testcases/kernel/mem/mtest05/
mmstress.c
282
int
thrd_ndx
= 0; /* index to the number of threads created */
local
358
th_args[0] =
thrd_ndx
;
371
if (pthread_create(&pthread_ids[
thrd_ndx
++], NULL, exec_func,
387
} while (
thrd_ndx
< num_thread);
396
for (
thrd_ndx
= 0;
thrd_ndx
< NUMTHREAD;
thrd_ndx
++) {
397
if (pthread_join(pthread_ids[
thrd_ndx
], &th_status)) {
408
(long)pthread_ids[
thrd_ndx
]);
Completed in 189 milliseconds