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

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dlibmicro.c169 static pthread_t *tids = NULL; variable
379 tids = (pthread_t *)malloc(lm_optT * sizeof (pthread_t));
380 if (tids == NULL) {
381 perror("malloc(tids)");
562 if (pthread_create(&tids[i], NULL, worker_thread, tsd) != 0) {
572 (void) pthread_join(tids[i], NULL);
971 if (tids == NULL) {
976 if (pthread_self() == tids[i]) {
1004 * gettindex() can race with pthread_create() filling in tids[].

Completed in 22 milliseconds