/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
2-1.c | 23 pthread_t main_thread; local 25 main_thread = pthread_self(); 27 if (pthread_kill(main_thread, 0) != 0) {
|
3-1.c | 21 pthread_t main_thread; local 23 main_thread = pthread_self(); 25 if (pthread_kill(main_thread, 0) != 0) {
|
7-1.c | 23 pthread_t main_thread; local 25 main_thread = pthread_self(); 27 if (EINVAL != pthread_kill(main_thread, -1)) {
|
/external/python/cpython2/Demo/pysvr/ |
pysvr.py | 35 main_thread(port) 44 def main_thread(port): function
|
pysvr.c | 45 static void main_thread(int); 87 main_thread(port); 104 main_thread(int port) function
|
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/ |
JvmtiRunTestBasedTest.java | 81 Thread main_thread = new Thread( local 95 main_thread.setUncaughtExceptionHandler((thread, e) -> { final_throw[0] = e; }); 97 main_thread.start(); 98 main_thread.join();
|
/bionic/libc/bionic/ |
__libc_init_main_thread.cpp | 47 static pthread_internal_t main_thread; variable 76 __init_tcb(temp_tcb, &main_thread); 79 main_thread.tid = __getpid(); 80 main_thread.set_cached_pid(main_thread.tid); 91 __set_tid_address(&main_thread.tid); 93 pthread_attr_init(&main_thread.attr); 95 pthread_attr_setinheritsched(&main_thread.attr, PTHREAD_INHERIT_SCHED); 97 pthread_attr_setguardsize(&main_thread.attr, 0); 99 pthread_attr_setstacksize(&main_thread.attr, 0) [all...] |
libc_init_common.cpp | 88 pthread_internal_t* main_thread = __get_thread(); local 89 __pthread_internal_add(main_thread);
|
/external/python/cpython3/Include/internal/ |
ceval.h | 11 unsigned long main_thread; member in struct:_pending_calls
|
/art/test/931-agent-thread/ |
agent_thread.cc | 35 AgentData() : main_thread(nullptr), 40 jthread main_thread; member in struct:art::Test930AgentThread::AgentData 54 CHECK(!env->IsSameObject(this_thread, data->main_thread)); 140 jthread main_thread; local 141 jvmtiError main_thread_result = jvmti_env->GetCurrentThread(&main_thread); 147 data.main_thread = env->NewGlobalRef(main_thread); 178 env->DeleteGlobalRef(data.main_thread);
|
/external/google-breakpad/src/client/mac/tests/ |
crash_generation_server_test.cc | 264 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); local 265 ASSERT_TRUE(main_thread); 266 MinidumpContext* context = main_thread->GetContext(); 343 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); local 344 ASSERT_TRUE(main_thread); 345 MinidumpContext* context = main_thread->GetContext();
|
minidump_generator_test.cc | 124 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); local 125 ASSERT_TRUE(main_thread); 126 MinidumpContext* context = main_thread->GetContext(); 215 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); local 216 ASSERT_TRUE(main_thread); 217 MinidumpContext* context = main_thread->GetContext(); 305 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); local 306 ASSERT_TRUE(main_thread); 307 MinidumpContext* context = main_thread->GetContext();
|
/bionic/tests/ |
stdlib_test.cpp | 377 pthread_t main_thread = reinterpret_cast<pthread_t>(arg); local 378 pthread_join(main_thread, nullptr);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
signalmodule.c | 74 thread is not the main_thread, send the signal to the main_thread.
80 static long main_thread;
variable 189 if (PyThread_get_thread_ident() != main_thread) {
190 pth_raise(*(pth_t *) main_thread, sig_num);
294 if (PyThread_get_thread_ident() != main_thread) {
412 if (PyThread_get_thread_ident() != main_thread) {
578 main_thread = PyThread_get_thread_ident();
902 if (PyThread_get_thread_ident() != main_thread)
974 if (PyThread_get_thread_ident() != main_thread)
[all...] |
timemodule.c | 56 static long main_thread;
variable 878 main_thread = PyThread_get_thread_ident();
981 main_thread != PyThread_get_thread_ident())
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
signalmodule.c | 74 thread is not the main_thread, send the signal to the main_thread.
80 static long main_thread;
variable 189 if (PyThread_get_thread_ident() != main_thread) {
190 pth_raise(*(pth_t *) main_thread, sig_num);
294 if (PyThread_get_thread_ident() != main_thread) {
404 if (PyThread_get_thread_ident() != main_thread) {
570 main_thread = PyThread_get_thread_ident();
894 if (PyThread_get_thread_ident() != main_thread)
966 if (PyThread_get_thread_ident() != main_thread)
[all...] |
timemodule.c | 56 static long main_thread;
variable 873 main_thread = PyThread_get_thread_ident();
976 main_thread != PyThread_get_thread_ident())
[all...] |
/external/compiler-rt/lib/asan/ |
asan_rtl.cc | 541 AsanThread *main_thread = AsanThread::Create( local 544 CHECK_EQ(0, main_thread->tid()); 545 SetCurrentThread(main_thread); 546 main_thread->ThreadStart(internal_getpid(),
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 133 ThreadContextBase *main_thread = registry->GetThreadLocked(0); local 134 EXPECT_EQ(main_thread, registry->FindThreadContextLocked(
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
matrix_mult.c | 191 void main_thread(void) function 351 main_thread();
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpu.c | 236 bool main_thread; member in struct:thread_info 251 if (info->main_thread) { 300 ((struct thread_info*)gr->query_data)->main_thread = main;
|
/external/python/cpython2/Modules/ |
signalmodule.c | 74 thread is not the main_thread, send the signal to the main_thread. 80 static long main_thread; variable 186 if (PyThread_get_thread_ident() != main_thread) { 187 pth_raise(*(pth_t *) main_thread, sig_num); 291 if (PyThread_get_thread_ident() != main_thread) { 412 if (PyThread_get_thread_ident() != main_thread) { 578 main_thread = PyThread_get_thread_ident(); 898 if (PyThread_get_thread_ident() != main_thread) 970 if (PyThread_get_thread_ident() != main_thread) [all...] |
timemodule.c | 56 static long main_thread; variable 976 main_thread = PyThread_get_thread_ident(); [all...] |
/external/compiler-rt/lib/msan/ |
msan.cc | 419 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); local 420 SetCurrentThread(main_thread); 421 main_thread->ThreadStart();
|
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
mq_perf_tests.c | 82 pthread_t main_thread; variable 212 if (pthread_self() != main_thread) 225 if (pthread_self() != main_thread) 226 pthread_kill(main_thread, signum); 547 main_thread = pthread_self();
|