Searched refs:pthreads (Results 1 – 5 of 5) sorted by relevance
608 if (pthreads->threads == NULL) in pyrf_thread_map__init()615 perf_thread_map__put(pthreads->threads); in pyrf_thread_map__delete()616 Py_TYPE(pthreads)->tp_free((PyObject*)pthreads); in pyrf_thread_map__delete()621 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__length() local623 return perf_thread_map__nr(pthreads->threads); in pyrf_thread_map__length()628 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__item() local630 if (i >= perf_thread_map__nr(pthreads->threads)) in pyrf_thread_map__item()787 PyObject *pcpus = NULL, *pthreads = NULL; in pyrf_evsel__open() local792 &pcpus, &pthreads, &group, &inherit)) in pyrf_evsel__open()795 if (pthreads != NULL) in pyrf_evsel__open()[all …]
18 为实现更多高级接口的方式,如pthreads。
1354 pthread_t *pthreads; in worker_process() local1373 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process()1393 ret = pthread_create(pthreads + t, NULL, worker_thread, td); in worker_process()1398 ret = pthread_join(pthreads[t], NULL); in worker_process()1403 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 15 milliseconds