HomeSort by relevance Sort by last modified time
    Searched refs:main_thread (Results 1 - 25 of 32) sorted by null

1 2

  /bionic/libc/bionic/
__libc_init_main_thread.cpp 67 static pthread_internal_t main_thread; local
72 __set_tls(main_thread.tls);
73 if (!__init_tls(&main_thread)) async_safe_fatal("failed to initialize TLS: %s", strerror(errno));
77 main_thread.tid = __set_tid_address(&main_thread.tid);
78 main_thread.set_cached_pid(main_thread.tid);
85 main_thread.mmap_size = 0;
86 pthread_attr_init(&main_thread.attr);
87 main_thread.attr.guard_size = 0; // The main thread has no guard page
    [all...]
libc_init_common.cpp 122 pthread_internal_t* main_thread = __get_thread(); local
123 __pthread_internal_add(main_thread);
  /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/compiler-rt/test/tsan/
atomic_norace.cc 8 void Test(int test, T *p, bool main_thread) {
11 if (main_thread)
16 if (main_thread)
21 if (main_thread)
26 if (main_thread)
atomic_race.cc 8 void Test(int test, T *p, bool main_thread) {
11 if (main_thread)
16 if (main_thread)
21 if (main_thread)
26 if (main_thread)
  /external/valgrind/none/tests/
pth_blockedsig.c 11 static pthread_t main_thread; variable
23 if (pthread_kill (main_thread, SIGUSR1) != 0)
49 main_thread = pthread_self ();
  /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/
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();
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();
  /external/squashfs-tools/squashfs-tools/
restore.c 49 extern pthread_t reader_thread, writer_thread, main_thread;
120 pthread_cancel(main_thread);
121 pthread_join(main_thread, NULL);
  /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/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
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();
901 if (PyThread_get_thread_ident() != main_thread)
973 if (PyThread_get_thread_ident() != main_thread)
    [all...]
  /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
  /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();
  /system/extras/simpleperf/inferno/
inferno.py 205 main_thread = [x for _, x in process.threads.items() if x.tid == process.pid]
206 for thread in main_thread:
  /external/linux-kselftest/tools/testing/selftests/mqueue/
mq_perf_tests.c 80 pthread_t main_thread; variable
210 if (pthread_self() != main_thread)
223 if (pthread_self() != main_thread)
224 pthread_kill(main_thread, signum);
545 main_thread = pthread_self();
  /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/msan/
msan.cc 419 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); local
420 SetCurrentThread(main_thread);
421 main_thread->ThreadStart();

Completed in 1413 milliseconds

1 2