HomeSort by relevance Sort by last modified time
    Searched refs:thrdid (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/kernel/mem/mtest07/
mallocstress.c 297 pthread_t *thrdid; /* the threads */ local
333 thrdid = malloc(sizeof(pthread_t) * num_thrd);
334 if (thrdid == NULL) {
335 perror("main(): allocating space for thrdid[] malloc()");
354 if (pthread_create(&thrdid[thrd_ndx], NULL, alloc_mem,
379 if (pthread_join(thrdid[thrd_ndx], &th_status) != 0) {
402 if (thrdid) {
403 free(thrdid);
404 thrdid = NULL;
shm_test.c 279 pthread_t thrdid[30]; /* maxinum of 30 threads allowed */ local
330 (&thrdid[thrd_ndx], NULL, shmat_rd_wr, chld_args)) {
338 (&thrdid[thrd_ndx + 1], NULL, shmat_rd_wr, chld_args)) {
347 if (pthread_join(thrdid[thrd_ndx], &th_status) != 0) {
355 (long)thrdid[thrd_ndx]);

Completed in 73 milliseconds