Home
last modified time | relevance | path

Searched refs:child_tid (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dclone.cpp40 …one(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*…
61 int* child_tid = nullptr; in clone() local
78 child_tid = va_arg(args, int*); in clone()
103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
106 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
108 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
/bionic/libc/kernel/uapi/linux/
Dsched.h54 __aligned_u64 child_tid; member
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S20 movl 32(%esp), %edi # child_tid
/bionic/tests/
Dunistd_test.cpp566 pid_t child_tid = 0; in CloneAndSetTid() local
569 … rv = clone(nullptr, nullptr, CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, nullptr, &child_tid); in CloneAndSetTid()
574 EXPECT_EQ(child_tid, GetTidForTest()); in CloneAndSetTid()
575 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
577 EXPECT_NE(child_tid, GetTidForTest()); in CloneAndSetTid()
578 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
Dpthread_test.cpp2260 std::atomic<pid_t> child_tid; member in PIMutexWakeupHelper
2264 helper->child_tid = gettid(); in thread_fn()
2295 child_tid = 0; in test()
2301 WaitUntilThreadSleep(child_tid); in test()