OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thid
(Results
1 - 4
of
4
) sorted by null
/external/ltp/testcases/kernel/mem/mtest06/
shmat1.c
397
pthread_t
thid
[1000]; /* pids of process that will map/write/unmap */
local
468
if (pthread_create(&
thid
[0], NULL, shmat_shmdt, chld_args)) {
474
thid
[0]);
478
if (pthread_create(&
thid
[1], NULL, write_to_mem, chld_args)) {
484
thid
[1]);
488
if (pthread_create(&
thid
[2], NULL, read_from_mem, chld_args)) {
494
thid
[2]);
500
if (pthread_join(
thid
[thrd_ndx], &status)) {
507
thid
[thrd_ndx], (long)status);
mmap1.c
292
pthread_t
thid
[2];
local
391
pthread_create(&
thid
[0], NULL, map_write_unmap,
396
tst_resm(TINFO, "created writing thread[%lu]",
thid
[0]);
398
if ((ret = pthread_create(&
thid
[1], NULL, read_mem, chld_args)))
402
tst_resm(TINFO, "created reading thread[%lu]",
thid
[1]);
405
if ((ret = pthread_join(
thid
[i], &status)))
413
"with %ld",
thid
[i], (long)status);
/external/ltp/testcases/kernel/sched/tool/
trace_sched.c
303
pthread_t
thid
[PIDS]; /* pids of process or threads spawned */
local
392
if (pthread_create(&
thid
[thrd_ndx], NULL, thread_func,
418
if (pthread_join(
thid
[thrd_ndx], (void **)&status)) {
/external/ltp/testcases/network/lib6/
asapi_01.c
347
pthread_t
thid
;
local
362
if (pthread_create(&
thid
, 0, ilistener, 0) < 0)
371
pthread_join(
thid
, NULL);
Completed in 218 milliseconds