Searched refs:pthreads (Results 1 – 4 of 4) sorted by relevance
693 if (pthreads->threads == NULL) in pyrf_thread_map__init()700 perf_thread_map__put(pthreads->threads); in pyrf_thread_map__delete()701 Py_TYPE(pthreads)->tp_free((PyObject*)pthreads); in pyrf_thread_map__delete()706 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__length() local708 return pthreads->threads->nr; in pyrf_thread_map__length()713 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__item() local715 if (i >= pthreads->threads->nr) in pyrf_thread_map__item()872 PyObject *pcpus = NULL, *pthreads = NULL; in pyrf_evsel__open() local877 &pcpus, &pthreads, &group, &inherit)) in pyrf_evsel__open()880 if (pthreads != NULL) in pyrf_evsel__open()[all …]
1320 pthread_t *pthreads; in worker_process() local1339 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process()1359 ret = pthread_create(pthreads + t, NULL, worker_thread, td); in worker_process()1364 ret = pthread_join(pthreads[t], NULL); in worker_process()1369 free(pthreads); in worker_process()
12 as a means to implement more high level interfaces like pthreads.
424 Familiar tools like GDB and pthreads can be used to develop and debug
Completed in 14 milliseconds