Home
last modified time | relevance | path

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

12345678910>>...21

/kernel/liteos_m/kal/posix/src/
Dpthread.c84 static inline bool IsPthread(pthread_t thread) in IsPthread()
177 pthread_t thread = pthread_self(); in CheckForCancel()
194 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create()
226 *thread = (pthread_t)taskID; in pthread_create()
233 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam()
257 int pthread_setschedprio(pthread_t thread, int prio) in pthread_setschedprio()
276 pthread_t thread = pthread_self(); in pthread_once()
297 int pthread_equal(pthread_t thread1, pthread_t thread2) in pthread_equal()
307 pthread_t thread = pthread_self(); in pthread_setcancelstate()
340 pthread_t thread = pthread_self(); in pthread_setcanceltype()
[all …]
/kernel/liteos_m/testsuites/unittest/xts/process/
Dpthread_basic_api_test.c60 pthread_t tid;
77 pthread_t tid;
98 pthread_t tid;
121 pthread_t tid;
152 pthread_t tid;
172 pthread_t tid;
185 pthread_t *tid = (pthread_t*)arg; in ThreadPthreadEqual()
200 pthread_t tid;
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/
DIt_posix_pthread_003.cpp40 pthread_t aThread; in Testcase()
41 pthread_t ptid = pthread_self(); in Testcase()
42 pthread_t a = 0; in Testcase()
43 pthread_t b = 0; in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
DIt_posix_pthread_003.c47 pthread_t aThread; in Testcase()
48 pthread_t ptid; in Testcase()
49 pthread_t a = 0; in Testcase()
50 pthread_t b = 0; in Testcase()
/kernel/liteos_a/compat/posix/src/
Dpthread.c69 _pthread_data *pthread_get_data(pthread_t id) in pthread_get_data()
170 STATIC VOID SetPthreadDataAttr(const pthread_attr_t *userAttr, const pthread_t threadID, in SetPthreadDataAttr()
188 STATIC UINT32 InitPthreadData(pthread_t threadID, pthread_attr_t *userAttr, in InitPthreadData()
217 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create()
257 *thread = (pthread_t)taskHandle; in pthread_create()
274 *thread = (pthread_t)-1; in pthread_create()
356 int pthread_join(pthread_t thread, void **retVal) in pthread_join()
416 int pthread_detach(pthread_t thread) in pthread_detach()
460 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam()
501 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam()
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_test_007.cpp34 static pthread_t g_th;
90 pthread_t th1; in Testcase()
91 pthread_t th2; in Testcase()
92 pthread_t th3; in Testcase()
Dpthread_test_008.cpp34 static pthread_t g_th;
90 pthread_t th1; in Testcase()
91 pthread_t th2; in Testcase()
92 pthread_t th3; in Testcase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
DIt_posix_pthread.c37 pthread_t TestPthreadSelf(void) in TestPthreadSelf()
39 pthread_t tid = pthread_self(); in TestPthreadSelf()
41 tid = (pthread_t)(((LosTaskCB *)(OsCurrTaskGet()))->taskID); in TestPthreadSelf()
/kernel/linux/linux-5.10/tools/perf/bench/
Dsched-messaging.c137 static pthread_t create_worker(void *ctx, void *(*func)(void *)) in create_worker()
140 pthread_t childid; in create_worker()
158 return (pthread_t)0; in create_worker()
176 static void reap_worker(pthread_t id) in reap_worker()
192 static unsigned int group(pthread_t *pth, in group()
268 pthread_t *pth_tab; in bench_sched_messaging()
273 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in bench_sched_messaging()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_004.cpp40 pthread_t pthread = pthread_self(); in ThreadFunc8()
58 pthread_t pthread = pthread_self(); in ThreadFunc7()
62 pthread_t newPthread; in ThreadFunc7()
97 pthread_t newPthread; in ThreadFunc5()
130 pthread_t pthread = pthread_self(); in ThreadFunc6()
143 pthread_t pthread = pthread_self(); in ThreadFunc4()
174 pthread_t pthread = pthread_self(); in ThreadFunc3()
231 pthread_t newPthread; in threadFunc()
318 pthread_t newPthread, newPthread1; in PthreadTest004()
Dpthread_test_001.cpp54 pthread_t pthread = pthread_self(); in ThreadFunc4()
82 pthread_t pthread = pthread_self(); in ThreadFunc3()
110 pthread_t pthread = pthread_self(); in ThreadFunc2()
146 pthread_t newPthread; in ThreadFunc()
215 pthread_t newPthread, newPthread1; in PthreadTest001()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_008.cpp43 pthread_t thread = pthread_self(); in ThreadFuncTest3()
69 pthread_t thread = pthread_self(); in ThreadFuncTest2()
96 pthread_t thread = pthread_self(); in ThreadFuncTest1()
122 pthread_t newPthread; in Testcase()
Dpthread_mutex_test_005.cpp51 pthread_t thread = pthread_self(); in ThreadFuncTest3()
77 pthread_t thread = pthread_self(); in ThreadFuncTest2()
103 pthread_t thread = pthread_self(); in ThreadFuncTest1()
128 pthread_t newPthread; in Testcase()
Dpthread_mutex_test_004.cpp51 pthread_t thread = pthread_self(); in ThreadFuncTest3()
76 pthread_t thread = pthread_self(); in ThreadFuncTest2()
102 pthread_t thread = pthread_self(); in ThreadFuncTest1()
126 pthread_t newPthread; in Testcase()
Dpthread_mutex_test_006.cpp51 pthread_t thread = pthread_self(); in ThreadFuncTest3()
76 pthread_t thread = pthread_self(); in ThreadFuncTest2()
101 pthread_t thread = pthread_self(); in ThreadFuncTest1()
125 pthread_t newPthread; in Testcase()
Dpthread_mutex_test_007.cpp45 pthread_t thread = pthread_self(); in ThreadFuncTest3()
80 pthread_t thread = pthread_self(); in ThreadFuncTest2()
114 pthread_t thread = pthread_self(); in ThreadFuncTest1()
144 pthread_t newPthread; in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_092.cpp39 pthread_t self = pthread_self(); in pthread_f01()
66 pthread_t self = pthread_self(); in pthread_f02()
84 pthread_t thread[THREAD_COUNT]; in Testcase()
85 pthread_t thread2[THREAD_COUNT]; in Testcase()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/
Dpthread_mutex_test_018.cpp45 pthread_t thread = pthread_self(); in ThreadFuncTest2()
70 pthread_t thread = pthread_self(); in ThreadFuncTest1()
103 pthread_t thread = pthread_self(); in Testcase()
104 pthread_t newPthread, newPthread1; in Testcase()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
D_pthreadtypes.h34 #define pthread_t __pthread_t_discard macro
46 #undef pthread_t
65 typedef unsigned long pthread_t; /* identify a thread */ typedef
/kernel/liteos_a/testsuites/unittest/process/lock/spinlock/smoke/
Dpthread_spinlock_test_001.cpp51 pthread_t thread = pthread_self(); in ThreadWriteFunc1()
93 pthread_t thread = pthread_self(); in ThreadWriteFunc()
131 pthread_t thread = pthread_self(); in Testcase()
132 pthread_t newPthread, newPthread1; in Testcase()
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/smoke/
Dpthread_rwlock_test_001.cpp96 pthread_t thread = pthread_self(); in ThreadReadFunc()
137 pthread_t thread = pthread_self(); in ThreadWriteFunc1()
182 pthread_t thread = pthread_self(); in ThreadWriteFunc()
224 pthread_t thread = pthread_self(); in Testcase()
225 pthread_t newPthread, newPthread1; in Testcase()
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/full/
Dpthread_rwlock_test_002.cpp95 pthread_t thread = pthread_self(); in ThreadReadFunc()
136 pthread_t thread = pthread_self(); in ThreadWriteFunc1()
181 pthread_t thread = pthread_self(); in ThreadWriteFunc()
224 pthread_t thread = pthread_self(); in PthreadRwlockTest()
225 pthread_t newPthread, newPthread1; in PthreadRwlockTest()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_012.cpp47 pthread_t newPthread; in ThreadFunc001()
79 pthread_t newPthread; in ThreadFunc()
109 pthread_t newPthread; in TestCase()
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
Dpthread_cond_func_test.c91 pthread_t newTh;
136 pthread_t newTh;
184 pthread_t newTh;
231 pthread_t newTh;
279 pthread_t newTh;
342 pthread_t thread[TEST_THREAD_COUNT]; in pthread_f06()
397 pthread_t newTh;
461 pthread_t thread[TEST_THREAD_COUNT]; in pthread_f07()
507 pthread_t newTh;
604 pthread_t newTh1, newTh2;
[all …]
/kernel/liteos_m/testsuites/sample/posix/
Dpthread_func_test.c74 pthread_t newTh;
119 pthread_t newTh;
167 pthread_t newTh;
214 pthread_t newTh;
262 pthread_t newTh;
325 pthread_t thread[TEST_THREAD_COUNT]; in PthreadFunc06()
380 pthread_t newTh;
443 pthread_t thread[TEST_THREAD_COUNT]; in PthreadFunc07()
492 pthread_t newTh;
586 pthread_t newTh1, newTh2;
[all …]

12345678910>>...21