/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | InactivityTimer.java | 89 Thread thread = new Thread(runnable); 90 thread.setDaemon(true); 91 return thread;
|
/external/webrtc/src/system_wrappers/source/ |
H A D | Android.mk | 35 thread.cc \
|
H A D | critical_section_unittest.cc | 103 ThreadWrapper* thread = ThreadWrapper::CreateThread( local 107 ASSERT_TRUE(thread->Start(id)); 112 // Thus, the thread should not be able to increment the count 114 crit_sect->Leave(); // This frees the thread to act. 116 EXPECT_TRUE(thread->Stop()); 117 delete thread; 135 ThreadWrapper* thread = ThreadWrapper::CreateThread(&LockUnlockRunFunction, local 139 ASSERT_TRUE(thread->Start(id)); 142 // The thread is capable of grabbing the lock multiple times, 148 // The thread doe [all...] |
H A D | thread_unittest.cc | 69 ThreadWrapper* thread = ThreadWrapper::CreateThread(&NullRunFunction); local 71 ASSERT_TRUE(thread->Start(id)); 72 EXPECT_TRUE(thread->Stop()); 73 delete thread; 85 ThreadWrapper* thread = ThreadWrapper::CreateThread(&SetFlagRunFunction, local 88 ASSERT_TRUE(thread->Start(id)); 90 EXPECT_TRUE(thread->Stop()); 91 // We expect the thread to have run at least once. 93 delete thread;
|
H A D | thread_win.cc | 41 // Set the thread name to appear in the VS debugger. 157 // Wait up to 2 seconds for the thread to complete. 192 SetThreadName(-1, _name); // -1, set thread name for the calling thread. 225 HANDLE thread = _thread; local 227 CloseHandle(thread);
|
/external/valgrind/main/none/tests/ |
H A D | pth_atfork1.c | 71 static void *thread (void *arg); 82 if (pthread_create (&th, NULL, thread, NULL) != 0) 83 error (EXIT_FAILURE, 0, "cannot create thread"); 96 thread (void *arg) function
|
H A D | pth_blockedsig.stdout.exp | 0 thread CHILD sending SIGUSR1 to thread MAIN
|
H A D | pth_once.stdout.exp | 2 identify_yourself: Hi, I'm a thread 3 identify_yourself: Hi, I'm a thread 4 identify_yourself: Hi, I'm a thread 5 identify_yourself: Hi, I'm a thread 6 identify_yourself: Hi, I'm a thread 7 identify_yourself: Hi, I'm a thread 8 identify_yourself: Hi, I'm a thread 9 identify_yourself: Hi, I'm a thread 10 identify_yourself: Hi, I'm a thread 11 identify_yourself: Hi, I'm a thread [all...] |
/external/valgrind/main/none/tests/s390x/ |
H A D | ex_clone.c | 13 pthread_t thread; variable 42 pthread_create(&thread, NULL, threadfunc, NULL); 57 pthread_join(thread, NULL);
|
/external/webp/src/ |
H A D | Android.mk | 62 utils/thread.c \ 117 utils/thread.c \
|
/external/webp/src/utils/ |
H A D | thread.c | 16 #include "./thread.h" 55 static int pthread_create(pthread_t* const thread, const void* attr, argument 58 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ 64 if (*thread == NULL) return 1; 65 SetThreadPriority(*thread, THREAD_PRIORITY_ABOVE_NORMAL); 69 static int pthread_join(pthread_t thread, void** value_ptr) { argument 71 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || 72 CloseHandle(thread) == 0); 123 // a thread is waiting in pthread_cond_wait: allow it to be notified 172 // signal to the main thread tha [all...] |
/external/valgrind/main/callgrind/ |
H A D | callgrind_annotate.in | 108 my $thread = ""; 417 elsif (/^thread:\s+(.*)$/) { $thread = $1; } 729 if ($thread ne "") { $target .= ", thread $thread"; }
|
H A D | threads.c | 51 * Per-thread data: 61 /* current running thread */ 64 static thread_info* thread[VG_N_THREADS]; variable 68 return thread; 73 return thread[CLG_(current_tid)]; 80 thread[i] = 0; 90 if (!thread[t]) continue; 92 (*func)(thread[t]); 131 CLG_DEBUG(0, ">> thread %d (was %d)\n", tid, CLG_(current_tid)); 134 /* save thread stat [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | inferiors.c | 68 error ("tried to change thread ID after multiple threads are created\n"); 122 struct thread_info *thread = get_thread (inf); local 124 return thread->gdb_id; 131 unsigned int thread_to_gdb_id (struct thread_info *thread) argument 133 return thread->gdb_id; 141 struct thread_info *thread = get_thread (inf); local 142 if (thread->gdb_id == gdb_id) 143 return thread; 152 struct thread_info *thread = gdb_id_to_thread (gdb_id); local 154 return thread 160 struct thread_info *thread = get_thread (inf); local 165 remove_thread(struct thread_info *thread) argument [all...] |
H A D | regcache.c | 66 struct thread_info *thread = (struct thread_info *) entry; local 69 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread); 74 current_inferior = thread; 131 struct thread_info *thread = (struct thread_info *) entry; local 134 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread); 138 set_inferior_regcache_data (thread, new_register_cache ());
|
H A D | server.h | 247 void remove_thread (struct thread_info *thread);
|
H A D | target.c | 54 struct thread_info *thread = get_thread (inf); local 55 if (!VG_(lwpid_to_vgtid)(thread_to_gdb_id(thread))) { 57 image_ptid(thread_to_gdb_id(thread))); 58 remove_thread (thread); 95 dlog(2, "(known thread)" LOCAL_THREAD_TRACE); 306 an existing thread. Otherwise, we are still in the init phase. 307 (hack similar to main thread hack in valgrind_update_threads) */ 598 /* If we are continuing any (all) thread(s), use step_thread 599 to decide which thread to step and/or send the specified
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 85 // Run a thread from beginning to end and return the thread's 103 VG_(printf)("thread tid %d started: stack = %p\n", 106 /* Make sure error reporting is enabled in the new thread. */ 134 /* Allocate a stack for this thread, if it doesn't already have one. 193 VG_(message)(Vg_UserMsg, "!? New thread %d starts with SP(%#lx) unmapped\n", 200 /* Run a thread all the way to the end, then do appropriate exit actions 217 /* Run the thread all the way through. */ 227 // Tell the tool this thread is exiting 230 /* If the thread i [all...] |
/external/valgrind/main/coregrind/ |
H A D | pub_core_threadstate.h | 3 /*--- The thread state. pub_core_threadstate.h ---*/ 36 // VG_(threads)[] data structure which holds all the important thread 72 VgSrc_ExitThread, /* just this thread is exiting */ 73 VgSrc_ExitProcess, /* this thread is exiting due to another thread 107 /* Architecture-specific thread state */ 133 /* OS-specific thread state. IMPORTANT: if you add fields to this, 139 Int lwpid; // PID of kernel task (Darwin: Mach thread) 140 Int threadgroup; // thread group id 157 // This thread' 256 Addr thread; member in struct:__anon32719::__anon32720::__anon32738 [all...] |
/external/valgrind/main/drd/ |
H A D | drd_pthread_intercepts.c | 6 This file is part of DRD, a thread error detector. 71 * Notes regarding thread creation: 72 * - sg_init() runs on the context of the created thread and copies the vector 73 * clock of the creator thread. This only works reliably if the creator 74 * thread waits until this copy has been performed. 76 * account that are involved in thread creation and for which the 77 * corresponding thread has not yet been created. So not waiting until the 78 * created thread has been started would make it possible that segments get 312 * Tell DRD whether 'tid' is a joinable thread or a detached thread 449 pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr, void* (*start)(void*), void* arg) argument [all...] |
/external/valgrind/main/drd/tests/ |
H A D | annotate_barrier.stderr.exp | 25 Conflicting store by thread 2 at 0x........ size 4
|
H A D | annotate_barrier_xml.stderr.exp | 170 <what>Conflicting store by thread 2 at 0x........ size 4</what>
|
H A D | annotate_hb_race.stderr.exp | 2 Conflicting store by thread x at 0x........ size 4
|
H A D | annotate_ignore_rw.stderr.exp | 2 Conflicting load by thread 1 at 0x........ size 1
|
H A D | annotate_ignore_rw2.stderr.exp | 2 Conflicting load by thread 1 at 0x........ size 1 7 Conflicting store by thread 1 at 0x........ size 1 12 Conflicting load by thread 1 at 0x........ size 1
|