OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pthread_self
(Results
26 - 50
of
278
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/valgrind/drd/tests/
monitor_example.cpp
107
m_owner =
pthread_self
();
119
assert(m_owner ==
pthread_self
());
123
m_owner =
pthread_self
();
139
result = m_recursion_count > 0 && m_owner ==
pthread_self
();
/bionic/libc/bionic/
pthread_setname_np.cpp
57
if (t ==
pthread_self
()) {
89
if (t ==
pthread_self
()) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
2-3.c
41
rc = pthread_getschedparam(
pthread_self
(), &policy, ¶m);
77
rc = pthread_setschedparam(
pthread_self
(), POLICY, ¶m);
2-4.c
41
rc = pthread_getschedparam(
pthread_self
(), &policy, ¶m);
65
rc = pthread_setschedparam(
pthread_self
(), POLICY, ¶m);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
1-2.c
40
rc = pthread_setschedparam(
pthread_self
(), policy, &sparam);
45
rc = pthread_getschedparam(
pthread_self
(), &policy_1, &sparam);
/external/valgrind/memcheck/tests/
threadname.c
30
pthread_setname_np(
pthread_self
(), threadname);
46
pthread_setname_np(
pthread_self
(), threadname);
/frameworks/wilhelm/src/
locks.cpp
82
pthread_t me =
pthread_self
();
102
pthread_t me =
pthread_self
();
105
if (pthread_equal(
pthread_self
(), owner)) {
116
thiz->mOwner =
pthread_self
();
137
assert(pthread_equal(
pthread_self
(), thiz->mOwner));
170
assert(pthread_equal(
pthread_self
(), thiz->mOwner));
291
assert(pthread_equal(
pthread_self
(), thiz->mOwner));
302
thiz->mOwner =
pthread_self
();
/hardware/interfaces/tests/libhwbinder/1.0/default/
ScheduleTest.cpp
21
ASSERT(!pthread_getschedparam(
pthread_self
(), &policy, ¶m));
32
ASSERT(!pthread_getschedparam(
pthread_self
(), &policy, ¶m));
/external/compiler-rt/lib/tsan/rtl/
tsan_platform_mac.cc
69
// shadow memory of the pointer returned by
pthread_self
() to store a pointer to
77
uptr thread_identity = (uptr)
pthread_self
();
91
uptr thread_identity = (uptr)
pthread_self
();
120
// The `thread ==
pthread_self
()` check indicates this is actually a worker
134
if (thread ==
pthread_self
()) {
145
if (thread ==
pthread_self
()) {
167
main_thread_identity = (uptr)
pthread_self
();
/prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/
lockosthread.go
32
mainThread = C.
pthread_self
()
56
self := C.
pthread_self
()
69
self := C.
pthread_self
()
86
subThread = C.
pthread_self
()
99
self := C.
pthread_self
()
/prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/
lockosthread.go
32
mainThread = C.
pthread_self
()
56
self := C.
pthread_self
()
69
self := C.
pthread_self
()
86
subThread = C.
pthread_self
()
99
self := C.
pthread_self
()
/external/libchrome/base/threading/
platform_thread_posix.cc
135
return pthread_mach_thread_np(
pthread_self
());
141
return
pthread_self
();
143
return
pthread_self
();
146
return reinterpret_cast<int32_t>(
pthread_self
());
148
return reinterpret_cast<int64_t>(
pthread_self
());
154
return PlatformThreadRef(
pthread_self
());
159
return PlatformThreadHandle(
pthread_self
());
/external/ltp/testcases/open_posix_testsuite/functional/threads/condvar/
pthread_cond_wait_1.c
61
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
91
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
123
SAFE_PFUNC(pthread_setschedparam(
pthread_self
(), POLICY, ¶m));
pthread_cond_wait_2.c
61
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
91
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
123
SAFE_PFUNC(pthread_setschedparam(
pthread_self
(), POLICY, ¶m));
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
1-1.c
69
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
95
SAFE_PFUNC(pthread_getschedparam(
pthread_self
(), &policy, ¶m));
130
SAFE_PFUNC(pthread_setschedparam(
pthread_self
(), SCHED_RR, ¶m));
/external/webrtc/webrtc/base/
criticalsection.cc
47
thread_ =
pthread_self
();
65
thread_ =
pthread_self
();
99
return pthread_equal(thread_,
pthread_self
());
/external/compiler-rt/test/tsan/
dtls.c
17
pthread_detach(
pthread_self
());
thread_name.cc
27
pthread_setname_np(
pthread_self
(), "Thread2");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
1-1.c
43
main_th =
pthread_self
();
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/
1-1.c
35
rc = pthread_getcpuclockid(
pthread_self
(), &cid);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
3-1.c
83
set_priority(
pthread_self
(), TRD_POLICY, priority);
118
set_priority(
pthread_self
(), TRD_POLICY, priority);
155
set_priority(
pthread_self
(), TRD_POLICY, priority);
197
set_priority(
pthread_self
(), TRD_POLICY, priority);
/external/valgrind/none/tests/
pth_blockedsig.c
49
main_thread =
pthread_self
();
/external/libunwind/tests/
Gtest-concurrent.c
64
printf ("%lx: IP=%lx\n", (long)
pthread_self
(), (unsigned long) ip);
79
pthread_kill (
pthread_self
(), SIGUSR1);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
22-1.c
96
ret = pthread_getcpuclockid(
pthread_self
(), &clt);
145
ret = pthread_getcpuclockid(
pthread_self
(), &clt);
/external/mesa3d/src/glx/apple/
apple_glx_log.c
80
thread = (uint64_t)(uintptr_t)
pthread_self
();
85
thread = (uint64_t)(uintptr_t)
pthread_self
();
Completed in 1138 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>