Home
last modified time | relevance | path

Searched refs:pthread_t (Results 1 – 25 of 927) sorted by relevance

12345678910>>...38

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
Dstress.c132 ret = pthread_kill(*(pthread_t *) arg, SIGABRT); in flooder_1()
148 ret = pthread_kill(*(pthread_t *) arg, SIGBUS); in flooder_2()
196 ret = pthread_kill(*(pthread_t *) arg, SIGILL); in sync_send()
223 pthread_t fl_rec; in main()
224 pthread_t fl_snd1, fl_snd2; in main()
227 pthread_t sy_rec; in main()
228 pthread_t sy_snd; in main()
/external/libhevc/common/
Dithread.c56 return sizeof(pthread_t); in ithread_get_handle_size()
66 … return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument); in ithread_create()
71 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
155 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
/external/libmpeg2/common/
Dithread.c62 return sizeof(pthread_t); in ithread_get_handle_size()
73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create()
78 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
162 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
/external/libavc/common/
Dithread.c68 return sizeof(pthread_t); in ithread_get_handle_size()
80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create()
86 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
180 pthread_t cur_thread = pthread_self(); in ithread_set_affinity()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h34 typedef HANDLE pthread_t; typedef
74 static INLINE int pthread_create(pthread_t *const thread, const void *attr, in pthread_create()
84 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create()
94 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join()
227 #define pthread_t TID
254 static INLINE int pthread_create(pthread_t *const thread, const void *attr,
264 tid = (pthread_t)_beginthread(thread_start, NULL, 1024 * 1024, targ);
274 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
/external/libaom/libaom/aom_util/
Daom_thread.h37 typedef HANDLE pthread_t; typedef
72 static INLINE int pthread_create(pthread_t *const thread, const void *attr, in pthread_create()
82 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create()
92 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join()
220 #define pthread_t TID
247 static INLINE int pthread_create(pthread_t *const thread, const void *attr,
257 tid = (pthread_t)_beginthread(thread_start, NULL, 1024 * 1024, targ);
267 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
/external/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c185 pthread_t create_worker(void *ctx, void *(*func) (void *)) in create_worker()
188 pthread_t childid; in create_worker()
202 return (pthread_t) 0; in create_worker()
221 void reap_worker(pthread_t id) in reap_worker()
238 static unsigned int group(pthread_t * pth, in group()
300 pthread_t *pth_tab; in main()
328 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
/external/compiler-rt/test/tsan/
Dsignal_recursive.cc63 static void StopWorld(pthread_t thread) { in StopWorld()
73 static void StartWorld(pthread_t thread) { in StartWorld()
83 static void CollectGarbage(pthread_t thread) { in CollectGarbage()
113 pthread_t busy_thread; in main()
Dfd_tid_recycled.cc30 pthread_t t_create; in main()
35 pthread_t t_dummy; in main()
40 pthread_t t[2]; in main()
Dmmap_stress.cc23 pthread_t th[4]; in Worker1()
37 pthread_t th[4]; in Worker()
54 pthread_t th[4]; in main()
Dbench.h47 pthread_t *th = (pthread_t*)malloc(nth * sizeof(pthread_t)); in start_thread_group()
Dfork_multithreaded.cc19 pthread_t th; in main()
27 pthread_t th2; in main()
/external/squashfs-tools/squashfs-tools/
Drestore.c49 extern pthread_t reader_thread, writer_thread, main_thread;
50 extern pthread_t *deflator_thread, *frag_deflator_thread, *frag_thread;
57 static pthread_t restore_thread;
151 pthread_t *init_restore_thread() in init_restore_thread()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D6-1.c35 pthread_t child_thread; in main()
36 pthread_t invalid_tid; in main()
53 memcpy(&invalid_tid, &child_thread, sizeof(pthread_t)); in main()
/external/compiler-rt/lib/tsan/benchmarks/
Dvts_many_threads_bench.cc93 pthread_t *t = new pthread_t[n_threads]; in main()
95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
/external/autotest/client/tests/hackbench/src/
Dhackbench.c212 pthread_t create_worker(void *ctx, void *(*func)(void *)) in create_worker()
215 pthread_t childid; in create_worker()
228 return (pthread_t) 0; in create_worker()
246 void reap_worker(pthread_t id) in reap_worker()
263 static unsigned int group(pthread_t *pth, in group()
321 pthread_t *pth_tab; in main()
349 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc65 pthread_t pthread_id; in SetUp()
83 void SpawnTidReporter(pthread_t *pthread_id, pid_t *tid);
87 std::vector<pthread_t> pthread_ids_;
109 void ThreadListerTest::SpawnTidReporter(pthread_t *pthread_id, in SpawnTidReporter()
173 pthread_t extra_pthread_id; in TEST_F()
207 pthread_t tid; in TEST()
226 pthread_t tid; in TEST()
Dsanitizer_pthread_wrappers.h29 typedef HANDLE pthread_t; typedef
44 inline void PTHREAD_CREATE(pthread_t *thread, void *attr, in PTHREAD_CREATE()
56 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) { in PTHREAD_JOIN()
/external/gemmlowp/profiling/
Dpthread_everywhere.h45 using pthread_t = std::thread *; variable
48 inline void pthread_create(pthread_t *thread, std::nullptr_t, in pthread_create()
52 inline void pthread_join(pthread_t thread, std::nullptr_t) { thread->join(); } in pthread_join()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
D2-1.c92 static int create_thread(int prio, pthread_t * tid) in create_thread()
145 pthread_t t1; in main()
146 pthread_t t2; in main()
147 pthread_t t3; in main()
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test.cc29 pthread_t child; in CFAllocator_DoubleFreeOnPthread()
55 pthread_t th1, th2; in CFAllocator_PassMemoryToAnotherThread()
176 pthread_t workers[kNumWorkers], forker; in TEST()
197 pthread_t th; in TEST()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
D1-2.c77 void check_param(pthread_t thread, int policy, int priority) in check_param()
140 ret = pthread_setschedparam(*(pthread_t *) arg, SCHED_RR, &sp); in changer()
153 pthread_t tcontrol, tchange; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D4-1.c70 (void)pthread_join(*(pthread_t *) arg, NULL); in joiner_func()
82 pthread_t child; in main()
83 pthread_t joiner; in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl34.c46 static void spawn_threads(pthread_t *id, void *(*thread_fn)(void *)) in spawn_threads()
55 static void wait_threads(pthread_t *id) in wait_threads()
100 pthread_t id[thread_cnt]; in test01()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/
Dtirpc_rpc_broadcast_exp_scalability.c92 pthread_t *pThreadArray; in main()
131 pThreadArray = malloc(maxThd * sizeof(pthread_t)); in main()
155 if ((pthread_t *) pThreadArray[j] != NULL) { in main()

12345678910>>...38