Searched defs:Thread (Results 1 - 25 of 36) sorted by relevance

12

/external/compiler-rt/lib/tsan/output_tests/
H A Dthread_leak.c3 void *Thread(void *x) { function
9 pthread_create(&t, 0, Thread, 0);
H A Dthread_leak2.c3 void *Thread(void *x) { function
9 pthread_create(&t, 0, Thread, 0);
H A Dthread_leak3.c3 void *Thread(void *x) { function
9 pthread_create(&t, 0, Thread, 0);
H A Dheap_race.cc5 void *Thread(void *a) { function
13 pthread_create(&t, NULL, Thread, p);
H A Dmutex_destroy_locked.cc4 void *Thread(void *p) { function
13 pthread_create(&t, 0, Thread, &m);
25 // CHECK: #1 Thread
H A Dsleep_sync2.cc6 void *Thread(void *p) { function
14 pthread_create(&t, 0, Thread, 0);
H A Dsleep_sync.cc6 void *Thread(void *p) { function
17 pthread_create(&t, 0, Thread, 0);
H A Dstatic_init1.cc10 void *Thread(void *x) { function
19 pthread_create(&t[0], 0, Thread, 0);
20 pthread_create(&t[1], 0, Thread, 0);
H A Dstatic_init2.cc18 void *Thread(void *x) { function
25 pthread_create(&t[0], 0, Thread, 0);
26 pthread_create(&t[1], 0, Thread, 0);
/external/regex-re2/util/
H A Dthread.h10 class Thread { class
12 Thread();
13 virtual ~Thread();
H A Dthread.cc10 Thread::Thread() { function in class:Thread
16 Thread::~Thread() {
20 Thread* t = (Thread*)v;
25 void Thread::Start() {
33 void Thread::Join() {
41 void Thread::SetJoinable(bool j) {
/external/compiler-rt/lib/tsan/benchmarks/
H A Dstart_many_threads.cc19 void* Thread(void *unused) { function
40 int status = pthread_create(&t[i], 0, Thread, (void*)i);
H A Dmini_bench_local.cc17 void *Thread(void *arg) { function
19 printf("Thread %ld started\n", idx);
22 printf("Thread %ld done\n", idx);
41 pthread_create(&t[i], 0, Thread, (void*)i);
H A Dmini_bench_shared.cc17 void *Thread(void *arg) { function
19 printf("Thread %ld started\n", idx);
22 printf("Thread %ld done\n", idx);
43 pthread_create(&t[i], 0, Thread, (void*)i);
H A Dvts_many_threads_bench.cc54 void *Thread(void *arg) { function
61 printf("Thread %ld go!\n", idx);
67 printf("Thread %ld done\n", idx);
101 int status = pthread_create(&t[i], 0, Thread, (void*)i);
/external/chromium/base/threading/
H A Dthread.cc19 // Thread to setup and run a MessageLoop.
30 Thread::SetThreadWasQuitProperly(true);
36 struct Thread::StartupData {
38 const Thread::Options& options;
48 Thread::Thread(const char* name) function in class:base::Thread
58 Thread::~Thread() {
62 bool Thread::Start() {
66 bool Thread
[all...]
H A Dthread.h26 // (1) Thread::CleanUp()
29 class BASE_API Thread : PlatformThread::Delegate { class in namespace:base
47 explicit Thread(const char* name);
51 // NOTE: If you are subclassing from Thread, and you wish for your CleanUp
54 virtual ~Thread();
74 // this method returns, the Thread object is completely reset and may be used
81 // method as the Thread's destructor will take care of stopping the thread if
105 // the Thread's Stop method instead.
190 DISALLOW_COPY_AND_ASSIGN(Thread);
/external/chromium/net/base/
H A Dnetwork_change_notifier_linux.cc25 class NetworkChangeNotifierLinux::Thread class in class:net::NetworkChangeNotifierLinux
26 : public base::Thread, public MessageLoopForIO::Watcher {
28 Thread();
29 virtual ~Thread();
36 // base::Thread
59 ScopedRunnableMethodFactory<Thread> method_factory_;
61 DISALLOW_COPY_AND_ASSIGN(Thread);
64 NetworkChangeNotifierLinux::Thread::Thread() function in class:net::NetworkChangeNotifierLinux::Thread
65 : base::Thread("NetworkChangeNotifie
[all...]
/external/valgrind/unittest/
H A Dlibstdc++_tests.cc64 void *Thread(void*) { function in namespace:LibStdCPlusPlus_basic_string_Test
92 pthread_create(&t[i], 0, Thread, 0);
100 // Last of the destructors (either here ot in Thread() will call _M_destroy).
128 void *Thread(void*) { function in namespace:LibStdCPlusPlus_shared_ptr_Test
155 pthread_create(&t[i], 0, Thread, 0);
/external/llvm/lib/Support/
H A DThreading.cpp83 pthread_t Thread; local
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
100 ::pthread_join(Thread, 0);
/external/valgrind/main/drd/tests/
H A Dannotate_smart_pointer.cpp74 class Thread class
77 Thread() : m_thread(INVALID_HANDLE_VALUE) { } function in class:Thread
78 ~Thread() { }
135 class Thread class
138 Thread() : m_tid() { } function in class:Thread
139 ~Thread() { }
314 Thread T[nthreads];
/external/valgrind/main/helgrind/
H A Dhg_lock_n_thread.h68 be as small as possible. Freeing Thread structures makes the
74 core's ThreadId associated with this Thread whilst it is alive.
80 Thread structure. */
98 Thread; typedef in typeref:struct:_Thread
101 Thread* get_admin_threads ( void );
165 Bool HG_(is_sane_Thread) ( Thread* thr );
/external/chromium/third_party/libjingle/source/talk/base/
H A Dthread.cc76 Thread *ThreadManager::CurrentThread() {
77 return static_cast<Thread *>(pthread_getspecific(key_));
80 void ThreadManager::SetCurrent(Thread *thread) {
98 Thread *ThreadManager::CurrentThread() {
99 return static_cast<Thread *>(TlsGetValue(key_));
102 void ThreadManager::SetCurrent(Thread *thread) {
108 Thread *ThreadManager::WrapCurrentThread() {
109 Thread* result = CurrentThread();
111 result = new Thread();
131 Thread*
169 Thread::Thread(SocketServer* ss) function in class:talk_base::Thread
[all...]
H A Dthread.h48 class Thread;
55 static Thread *CurrentThread();
56 static void SetCurrent(Thread *thread);
57 void Add(Thread *thread);
58 void Remove(Thread *thread);
62 // If there already *is* a Thread object corresponding to this thread,
63 // this method will return that. Otherwise it creates a new Thread
73 static Thread *WrapCurrentThread();
79 Thread *main_thread_;
80 std::vector<Thread *> threads
114 class Thread : public MessageQueue { class in namespace:talk_base
[all...]
/external/v8/src/
H A Dplatform-nullos.cc333 class Thread::PlatformData : public Malloced {
343 Thread::Thread(const Options& options) function in class:v8::internal::Thread
351 Thread::Thread(const char* name) function in class:v8::internal::Thread
359 Thread::~Thread() {
365 void Thread::set_name(const char* name) {
371 void Thread::Start() {
376 void Thread
[all...]

Completed in 209 milliseconds

12