/bionic/libc/bionic/ |
clone.cpp | 40 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg); 61 int* child_tid = nullptr; local 78 child_tid = va_arg(args, int*); 103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); 106 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); 108 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid);
|
/external/ltp/testcases/kernel/syscalls/tgkill/ |
tgkill03.c | 20 static pid_t child_tid; variable 27 child_tid = sys_gettid(); 82 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH }, 83 { "Valid tgkill call", &parent_tgid, &child_tid, SIGUSR1, 0 },
|
/external/ltp/testcases/kernel/sched/nptl/ |
nptl01.c | 188 pthread_t child_tid; local 206 if ((ret = pthread_create(&child_tid, &attr, run, NULL)) != 0) {
|
/bionic/tests/ |
unistd_test.cpp | 516 pid_t child_tid = 0; local 519 int rv = clone(nullptr, nullptr, CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, nullptr, &child_tid); 524 EXPECT_EQ(child_tid, GetTidForTest()); 525 EXPECT_NE(child_tid, parent_tid); 527 EXPECT_NE(child_tid, GetTidForTest()); 528 EXPECT_NE(child_tid, parent_tid); [all...] |
pthread_test.cpp | 2064 std::atomic<pid_t> child_tid; member in class:PIMutexWakeupHelper [all...] |