Home
last modified time | relevance | path

Searched refs:pthread (Results 1 – 25 of 60) sorted by relevance

123

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
Dconfig.gni32 libc_posix_pthread_include_dirs = [ "$TEST_UNITTEST_DIR/libc/posix/pthread" ]
35 [ "$TEST_UNITTEST_DIR/libc/posix/pthread/posix_pthread_test.cpp" ]
38 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_003.cpp",
39 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_004.cpp",
40 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_005.cpp",
41 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_006.cpp",
42 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_018.cpp",
43 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_019.cpp",
44 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_020.cpp",
45 "$TEST_UNITTEST_DIR/libc/posix/pthread/smoke/It_posix_pthread_021.cpp",
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/
Dconfig.gni45 [ "$TEST_UNITTEST_DIR/process/basic/pthread" ]
48 [ "$TEST_UNITTEST_DIR/process/basic/pthread/process_pthread_test.cpp" ]
51 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_atfork_test_001.cpp",
52 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_atfork_test_002.cpp",
53 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_001.cpp",
54 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_002.cpp",
55 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_003.cpp",
56 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_cond_test_004.cpp",
57 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_once_test_001.cpp",
58 "$TEST_UNITTEST_DIR/process/basic/pthread/smoke/pthread_test_003.cpp",
[all …]
/kernel/liteos_m/testsuites/sample/posix/
DBUILD.gn136 "pthread/It_posix_pthread.c",
137 "pthread/It_posix_pthread_001.c",
138 "pthread/It_posix_pthread_002.c",
139 "pthread/It_posix_pthread_003.c",
140 "pthread/It_posix_pthread_004.c",
141 "pthread/It_posix_pthread_005.c",
142 "pthread/It_posix_pthread_006.c",
143 "pthread/It_posix_pthread_007.c",
144 "pthread/It_posix_pthread_008.c",
145 "pthread/It_posix_pthread_009.c",
[all …]
/kernel/liteos_a/testsuites/kernel/sample/posix/
DMakefile10 -I $(LITEOSTESTTOPDIR)/kernel/sample/posix/pthread
12 SRC_MODULES := mqueue mutex sem pthread swtmr sched mem
15 LLT_MODULES := mqueue/llt mutex/llt sem/llt pthread/llt swtmr/llt sched/llt mem/llt
19 SMOKE_MODULES := mqueue/smoke mutex/smoke sem/smoke pthread/smoke swtmr/smoke sched/smoke mem/smoke
23 FULL_MODULES := mqueue/full mutex/full sem/full pthread/full swtmr/full sched/full mem/full
27 PRESSURE_MODULES := mqueue/pressure mutex/pressure sem/pressure pthread/pressure swtmr/pressure sch…
DBUILD.gn35 "pthread/It_posix_pthread.c",
76 "pthread/smoke/It_posix_pthread_003.c",
77 "pthread/smoke/It_posix_pthread_004.c",
78 "pthread/smoke/It_posix_pthread_005.c",
79 "pthread/smoke/It_posix_pthread_006.c",
80 "pthread/smoke/It_posix_pthread_009.c",
81 "pthread/smoke/It_posix_pthread_018.c",
82 "pthread/smoke/It_posix_pthread_019.c",
83 "pthread/smoke/It_posix_pthread_020.c",
84 "pthread/smoke/It_posix_pthread_021.c",
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
DMakefile21 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread
22 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
24 $(OUTPUT)/tm-unavailable: CFLAGS += -O0 -pthread -m64 -Wno-error=uninitialized -mvsx
25 $(OUTPUT)/tm-trap: CFLAGS += -O0 -pthread -m64
26 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64
27 $(OUTPUT)/tm-signal-pagefault: CFLAGS += -pthread -m64
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_041.cpp48 pthread_t pthread[1000] = { 0 }; in GroupProcess() local
58 ret = pthread_create(&pthread[i], &a, Thread, NULL); in GroupProcess()
68 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
69 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
70 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_004.cpp40 pthread_t pthread = pthread_self(); in ThreadFunc8() local
43 ret = pthread_detach(pthread); in ThreadFunc8()
58 pthread_t pthread = pthread_self(); in ThreadFunc7() local
65 ret = pthread_detach(pthread); in ThreadFunc7()
130 pthread_t pthread = pthread_self(); in ThreadFunc6() local
135 return (void *)(uintptr_t)pthread; in ThreadFunc6()
143 pthread_t pthread = pthread_self(); in ThreadFunc4() local
163 ret = pthread_cancel(pthread); in ThreadFunc4()
174 pthread_t pthread = pthread_self(); in ThreadFunc3() local
194 ret = pthread_cancel(pthread); in ThreadFunc3()
Dpthread_test_001.cpp54 pthread_t pthread = pthread_self(); in ThreadFunc4() local
71 ret = pthread_cancel(pthread); in ThreadFunc4()
82 pthread_t pthread = pthread_self(); in ThreadFunc3() local
98 ret = pthread_cancel(pthread); in ThreadFunc3()
110 pthread_t pthread = pthread_self(); in ThreadFunc2() local
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_test_003.cpp45 pthread_t pthread = pthread_self(); in ThreadFuncTest2() local
49 ret = pthread_getschedparam(pthread, &policy, &param); in ThreadFuncTest2()
65 pthread_t pthread = pthread_self(); in ThreadFuncTest3() local
69 ret = pthread_getschedparam(pthread, &policy, &param); in ThreadFuncTest3()
Dpthread_test_011.cpp39 pthread_t pthread = pthread_self(); in child1() local
42 int ret = pthread_getschedparam(pthread, &policy, &param); in child1()
47 ret = pthread_getschedparam(pthread, &newPolicy, &param); in child1()
/kernel/linux/linux-5.10/tools/lib/lockdep/
Drun_tests.sh13 if gcc -o "tests/$testname" -pthread "$i" liblockdep.a -Iinclude -D__USE_LIBLOCKDEP &&
25 if gcc -o "tests/$testname" -pthread -Iinclude "$i" &&
38 if gcc -o "tests/$testname" -pthread -Iinclude "$i" &&
/kernel/linux/linux-5.10/tools/perf/bench/
Dsched-pipe.c34 pthread_t pthread; member
121 ret = pthread_create(&td->pthread, NULL, worker_thread, td); in bench_sched_pipe()
128 ret = pthread_join(td->pthread, NULL); in bench_sched_pipe()
/kernel/linux/linux-5.10/tools/testing/selftests/sync/
DMakefile2 CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
4 LDFLAGS += -pthread
/kernel/linux/linux-5.10/tools/virtio/ringtest/
DMakefile7 CFLAGS += -pthread -O2 -ggdb -flto -fwhole-program
8 LDFLAGS += -pthread -O2 -ggdb -flto -fwhole-program
/kernel/linux/linux-5.10/tools/virtio/
DMakefile8 CFLAGS += -pthread
9 LDFLAGS += -pthread
/kernel/liteos_a/testsuites/unittest/container/full/
DIt_pid_container_019.cpp65 pthread_t pthread[TEST_COUNT] = {0}; in ChildFun() local
67 pthread_create(&pthread[count], NULL, PthreadFunc, NULL); in ChildFun()
/kernel/linux/linux-5.10/include/acpi/platform/
Daclinux.h193 #define ACPI_CAST_PTHREAD_T(pthread) ((acpi_thread_id) (pthread)) argument
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
DMakefile2 CFLAGS += -std=c99 -pthread -iquote../../../../include/uapi -Wall
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
DMakefile2 CFLAGS += -g -I../../../../usr/include/ -pthread
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
DMakefile3 CFLAGS += -I../../../../../usr/include/ -pthread
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
DMakefile4 CFLAGS := -Wall -Werror -pthread
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/signal/
DMakefile6 $(OUTPUT)/sigfuz: CFLAGS += -pthread -m64
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
DMakefile3 CFLAGS = -O2 -Wall -pthread
/kernel/liteos_a/testsuites/unittest/libc/posix/
Dconfig.gni62 # libc posix pthread module
64 import("./pthread/config.gni")

123