| /external/deqp/framework/delibs/dethread/unix/ |
| deThreadUnix.c | 2 * drawElements Thread Library 21 * \brief Unix implementation of thread management. 40 pthread_t thread; member in struct:Thread_s 43 } Thread; 45 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 49 Thread* thread = (Thread*)entryPtr; local 50 deThreadFunc func = thread->func; 51 void* arg = thread->arg 62 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); local 101 Thread* thread = (Thread*)threadptr; local 119 Thread* thread = (Thread*)threadptr; local [all...] |
| /external/deqp/framework/delibs/dethread/win32/ |
| deThreadWin32.c | 2 * drawElements Thread Library 21 * \brief Win32 implementation of thread management. 34 /* Thread handle equals deThread in this implementation. */ 73 HANDLE thread = 0; local 81 thread = CreateThread(DE_NULL, 0, startThread, entry, 0, DE_NULL); 82 if (!thread) 89 SetThreadPriority(thread, mapPriority(attributes->priority)); 91 return (deThread)thread; 94 deBool deThread_join (deThread thread) 96 HANDLE handle = (HANDLE)thread; [all...] |
| /external/jemalloc/include/jemalloc/internal/ |
| tsd.h | 16 * TLS/TSD-agnostic macro-based implementation of thread-specific data. There 404 pthread_t thread; member in struct:tsd_init_block_s
|
| /external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
| sctop.py | 11 import os, sys, thread, time namespace 42 thread.start_new_thread(print_syscall_totals, (interval,))
|
| /external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
| build-id.c | 27 struct thread *thread = machine__findnew_thread(machine, sample->pid, local 30 if (thread == NULL) { 36 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, 51 struct thread *thread = machine__findnew_thread(machine, local 58 if (thread) { 59 rb_erase(&thread->rb_node, &machine->threads); 61 thread__delete(thread);
|
| /external/lldb/test/api/multithreaded/ |
| test_listener_event_process_state.cpp | 9 #include <thread> 18 // listener thread control 32 throw Exception("event is not valid in listener thread"); 39 // send each thread description 41 SBThread thread = process.GetThreadAtIndex(i); local 42 thread.GetDescription(description); 46 uint32_t num_frames = thread.GetNumFrames(); 48 const char* function_name = thread.GetFrameAtIndex(j).GetFunction().GetName(); 58 // check thread description 62 throw Exception("Expected at least one thread description string") [all...] |
| /external/mesa3d/src/glx/apple/ |
| apple_glx_log.c | 76 uint64_t thread = 0; local 80 thread = (uint64_t)(uintptr_t)pthread_self(); 83 pthread_threadid_np(NULL, &thread); 85 thread = (uint64_t)(uintptr_t)pthread_self(); 88 pthread_threadid_np(NULL, &thread); 97 _asl_level_string(level), file, line, function, thread); 117 asprintf(&_thread, "%"PRIu64, thread); 119 asl_set(msg, "Thread", _thread);
|
| /external/qemu/include/qemu/ |
| thread-posix.h | 33 pthread_t thread; member in struct:QemuThread
|
| /external/valgrind/main/drd/tests/ |
| free_is_write.c | 42 pthread_t thread[THREAD_COUNT]; local 47 result = pthread_create(&thread[i], 0, thread_func, 0); 57 pthread_join(thread[i], 0);
|
| pth_detached.c | 54 // thread attributes. 57 pthread_t thread; local 58 pthread_create(&thread, &attr, thread_func1, NULL); 66 pthread_t thread; local 67 pthread_create(&thread, &attr, thread_func2, NULL);
|
| pth_detached_sem.c | 4 * in this test program the main thread uses a counting semaphore instead 61 // thread attributes. 64 pthread_t thread; local 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 73 pthread_t thread; local 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]);
|
| /external/valgrind/main/none/tests/ |
| 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
|
| /hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
| loc_eng_ni.h | 39 pthread_t thread; /* NI thread */ member in struct:__anon41000
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| fork_wait.py | 5 We want fork1() semantics -- only the forking thread survives in the 17 thread = test_support.import_module('thread') variable 51 thread.start_new(self.f, (i,))
|
| test_imp.py | 73 import thread namespace
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| fork_wait.py | 5 We want fork1() semantics -- only the forking thread survives in the 17 thread = test_support.import_module('thread') variable 51 thread.start_new(self.f, (i,))
|
| test_imp.py | 73 import thread namespace
|
| /libcore/libart/src/main/java/java/lang/ |
| ThreadGroup.java | 28 * This class is obsolete. See <i>Effective Java</i> Item 73, "Avoid thread groups" for details. 29 * @see Thread 31 public class ThreadGroup implements Thread.UncaughtExceptionHandler { 38 private int maxPriority = Thread.MAX_PRIORITY; 48 private final List<WeakReference<Thread>> threadRefs = new ArrayList<WeakReference<Thread>>(5); 54 private final Iterable<Thread> threads = CollectionUtils.dereferenceIterable(threadRefs, true); 57 * Thread groups. Access is guarded by synchronizing on this field. 73 * will be child of the {@code ThreadGroup} to which the calling thread belongs. 76 * @see Thread#currentThrea 342 Thread thread = threadRefs.get(i).get(); local [all...] |
| /art/test/114-ParallelGC/src/ |
| Main.java | 31 Thread[] threads = new Thread[16]; 55 threads[i] = new Thread(new Main(i, queues.get(i), queues.get((i + 1) % threads.length), 58 for (Thread thread : threads) { 59 thread.start(); 66 for (Thread thread : threads) { 67 thread.join();
|
| /libcore/luni/src/test/java/libcore/java/nio/channels/ |
| SelectorTest.java | 80 new Thread(new Runnable() { 83 Thread.sleep(2000); 96 Thread.currentThread().interrupt(); 100 assertTrue(Thread.currentThread().isInterrupted()); 102 // Clear the interrupted thread state so that it does not interfere with later tests. 103 Thread.interrupted(); 119 Thread thread = new Thread(new Runnable() { local 128 thread.start() [all...] |
| /art/runtime/native/ |
| dalvik_system_VMStack.cc | 35 // Suspend thread to build stack trace. 39 Thread* thread; local 41 // Take suspend thread lock to avoid races with threads trying to suspend this one. 43 thread = thread_list->SuspendThreadByPeer(peer, true, false, &timed_out); 45 if (thread != nullptr) { 48 trace = thread->CreateInternalStackTrace<false>(soa); 50 // Restart suspended thread. 51 thread_list->Resume(thread, false); 54 LOG(ERROR) << "Trying to get thread's stack failed as the thread failed to suspend within a [all...] |
| dalvik_system_ZygoteHooks.cc | 24 #include "thread-inl.h" 67 // There's only one thread running at this point, so only one JNIEnv to fix up. 68 Thread::Current()->GetJniEnv()->SetCheckJniEnabled(true); 101 // Grab thread before fork potentially makes Thread::pthread_key_self_ unusable. 102 Thread* self = Thread::Current(); 108 Thread* thread = reinterpret_cast<Thread*>(token) local [all...] |
| /external/chromium_org/apps/shell/renderer/ |
| shell_content_renderer_client.cc | 70 RenderThread* thread = RenderThread::Get(); local 83 thread->AddObserver(extension_dispatcher_.get()); 88 delegate_->OnThreadStarted(thread);
|
| /external/chromium_org/remoting/base/ |
| auto_thread.cc | 42 // Fields describing the desired thread behaviour. 45 // Used to receive the AutoThreadTaskRunner for the thread. 48 // Used to synchronize thread startup. 60 AutoThread* thread = new AutoThread(name, joiner.get()); local 61 scoped_refptr<AutoThreadTaskRunner> task_runner = thread->StartWithType(type); 63 delete thread; 80 AutoThread* thread = new AutoThread(name, joiner); local 81 thread->SetComInitType(com_init_type); 83 thread->StartWithType(loop_type); 85 delete thread; [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/workers/ |
| DedicatedWorkerGlobalScope.cpp | 44 PassRefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> DedicatedWorkerGlobalScope::create(DedicatedWorkerThread* thread, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData, double timeOrigin) 46 RefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> context = adoptRefWillBeRefCountedGarbageCollected(new DedicatedWorkerGlobalScope(startupData->m_scriptURL, startupData->m_userAgent, thread, timeOrigin, startupData->m_workerClients.release())); 51 DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) 52 : WorkerGlobalScope(url, userAgent, thread, timeOrigin, workerClients) 72 thread()->workerObjectProxy().postMessageToWorkerObject(message, channels.release()); 78 thread()->workerObjectProxy().reportPendingActivity(hasPendingActivity()); 81 DedicatedWorkerThread* DedicatedWorkerGlobalScope::thread() const function in class:WebCore::DedicatedWorkerGlobalScope 83 return static_cast<DedicatedWorkerThread*>(Base::thread()); 112 thread()->workerObjectProxy().postTaskToMainExecutionContext(UseCounterTask::createCount(feature)); 117 thread()->workerObjectProxy().postTaskToMainExecutionContext(UseCounterTask::createDeprecation(feature)) [all...] |