Searched refs:tids (Results 1 - 8 of 8) sorted by relevance
/third_party/libuv/test/ |
H A D | benchmark-async-pummel.c | 66 uv_thread_t* tids; in test_async_pummel() local 71 tids = calloc(nthreads, sizeof(tids[0])); in test_async_pummel() 72 ASSERT_NOT_NULL(tids); in test_async_pummel() 78 ASSERT_OK(uv_thread_create(tids + i, pummel, &handle)); in test_async_pummel() 88 ASSERT_OK(uv_thread_join(tids + i)); in test_async_pummel() 96 free(tids); in test_async_pummel()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
H A D | 2-1.c | 37 timer_t *tids; in main() local 49 tids = malloc(max * sizeof(timer_t)); in main() 50 if (tids == NULL) { in main() 65 tids[i] = tid; in main() 66 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) { in main() 73 printf("No duplicate tids found\n"); in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | sysinfo_test.cc | 79 std::unordered_set<pid_t> tids; in TEST() local 86 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 87 tids.insert(id); in TEST()
|
/third_party/curl/tests/libtest/ |
H A D | lib3026.c | 129 pthread_t tids[NUM_THREADS]; in test() local 146 res = pthread_create(&tids[i], NULL, run_thread, &results[i]); in test() 158 pthread_join(tids[i], NULL); in test()
|
/third_party/musl/libc-test/src/regression/ |
H A D | malloc-multi-thread-performance.c | 64 pthread_t tids[THREAD_MAX_N]; in main() local 79 ret = pthread_create(&tids[i], &attr, func, &t_result[i]); in main() 88 ret = pthread_join(tids[i], NULL); in main()
|
/third_party/ltp/testcases/realtime/func/matrix_mult/ |
H A D | matrix_mult.c | 41 static int *tids; variable 193 tids = calloc(numcpus, sizeof(int)); in main_thread() 194 if (!tids) { in main_thread() 243 tids[j] = create_fifo_thread(concurrent_thread, matrices[j], PRIO); in main_thread() 244 if (tids[j] == -1) { in main_thread()
|
/third_party/libwebsockets/lib/system/async-dns/ |
H A D | private-lib-async-dns.h | 87 uint8_t tids; member 96 q->tid[(int)(_q->tids - 1) % (int)LWS_ARRAY_SIZE(q->tid)]
|
H A D | async-dns.c | 52 int n = 0, nmax = q->tids >= LWS_ARRAY_SIZE(q->tid) ? in lws_adns_get_query() 53 LWS_ARRAY_SIZE(q->tid) : q->tids; in lws_adns_get_query() 600 int n = 0, nmax = q->tids >= LWS_ARRAY_SIZE(q->tid) ? in check_tid() 601 LWS_ARRAY_SIZE(q->tid) : q->tids; in check_tid() 630 q->tids++; in lws_async_dns_get_new_tid()
|
Completed in 4 milliseconds