Searched refs:t_args (Results 1 - 5 of 5) sorted by relevance

/gem5/tests/test-progs/pthread/src/
H A Dtest_pthread_create_para.cpp73 ThreadArg* t_args = new ThreadArg[MAX_N_WORKER_THREADS]; local
83 t_args[tid].tid = tid;
84 t_args[tid].output = outputs + tid;
87 ret = pthread_create( threads + tid, nullptr, func, &t_args[tid] );
110 delete[] t_args;
H A Dtest_pthread_create_seq.cpp72 ThreadArg* t_args = new ThreadArg[MAX_N_WORKER_THREADS]; local
82 t_args[tid].tid = tid;
83 t_args[tid].output = outputs + tid;
86 ret = pthread_create( threads + tid, nullptr, func, &t_args[tid] );
108 delete[] t_args;
H A Dtest_pthread_mutex.cpp86 ThreadArg* t_args = new ThreadArg[MAX_N_WORKER_THREADS]; local
102 t_args[tid].nsteps = nsteps;
103 t_args[tid].shared_var = &shared_var;
104 t_args[tid].lock = &lock;
107 ret = pthread_create( threads + tid, nullptr, func, &t_args[tid] );
127 delete[] t_args;
H A Dtest_atomic.cpp86 ThreadArg* t_args = new ThreadArg[MAX_N_WORKER_THREADS]; local
90 t_args[tid].nsteps = nsteps;
91 t_args[tid].shared_var = &shared_var;
94 ret = pthread_create( threads + tid, nullptr, func, &t_args[tid] );
110 delete[] t_args;
/gem5/src/python/m5/
H A DSimObject.py807 t_args = []
827 t_args.append(arg.strip())
832 t_args.append(arg.strip())
846 for arg, param in zip(t_args, template_params):

Completed in 7 milliseconds