/external/deqp/framework/delibs/decpp/ |
deThread.hpp | 23 * \brief Thread base class. 35 * Thread provides base class for implementing threads. To leverage that 36 * functionality, inherit Thread in your class and implement virtual run() 39 * \note Thread class is not thread-safe, i.e. thread control functions 43 class Thread 46 Thread (void); 47 virtual ~Thread (void); 55 /** Thread entry point. * [all...] |
deThread.cpp | 21 * \brief Thread base class. 35 * \brief Thread constructor. 37 Thread::Thread (void) 44 * \brief Destroy thread. 46 * If the thread is currently running, OS is instructed to destroy it 49 Thread::~Thread (void) 56 * \brief Set thread priority. 62 * Sets priority for the thread start(). setPriority() has no effec [all...] |
/art/runtime/ |
closure.h | 22 class Thread; 27 virtual void Run(Thread* self) = 0;
|
monitor_linux.cc | 21 void Monitor::LogContentionEvent(Thread*, uint32_t, uint32_t, const char*, uint32_t) {
|
barrier.h | 42 void Pass(Thread* self); 45 void Wait(Thread* self); 47 // The following three calls are only safe if we somehow know that no other thread both 50 // If these calls are made in that situation, the offending thread is likely to go back 54 void Increment(Thread* self, int delta); 57 void Increment(Thread* self, int delta, uint32_t timeout_ms) LOCKS_EXCLUDED(lock_); 60 // another thread is still in Wait(). See above. 61 void Init(Thread* self, int count); 64 void SetCountLocked(Thread* self, int count) EXCLUSIVE_LOCKS_REQUIRED(lock_);
|
/external/valgrind/main/helgrind/tests/ |
tc04_free_lock.stderr.exp | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x is the program's root thread 8 Thread #x: Exiting thread still holds 2 locks
|
tc22_exit_w_lock.stderr.exp | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x was created 11 Thread #x: Exiting thread still holds 2 locks 14 ---Thread-Announcement------------------------------------------ 16 Thread #x was created 23 Thread #x: Exiting thread still holds 1 lock 26 ---Thread-Announcement------------------------------------------ 28 Thread #x is the program's root threa [all...] |
/external/valgrind/main/gdbserver_tests/ |
mcbreak.stdout.exp | 1 pid .... Thread .... first 2 pid .... Thread .... second 3 pid .... Thread .... third 4 pid .... Thread .... fourth 5 pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb 6 pid .... Thread .... called from level 8 pid .... Thread .... called from main
|
/external/chromium_org/third_party/re2/util/ |
thread.cc | 8 #include "util/thread.h" 10 Thread::Thread() { 16 Thread::~Thread() { 20 Thread* t = (Thread*)v; 25 void Thread::Start() { 33 void Thread::Join() { 41 void Thread::SetJoinable(bool j) [all...] |
thread.h | 10 class Thread { 12 Thread(); 13 virtual ~Thread();
|
/external/regex-re2/util/ |
thread.cc | 8 #include "util/thread.h" 10 Thread::Thread() { 16 Thread::~Thread() { 20 Thread* t = (Thread*)v; 25 void Thread::Start() { 33 void Thread::Join() { 41 void Thread::SetJoinable(bool j) [all...] |
thread.h | 10 class Thread { 12 Thread(); 13 virtual ~Thread();
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
thread.cpp | 2 * thread.cpp, thread class 20 #include <thread.h> 22 Thread::Thread() 30 Thread::Thread(RunnableInterface *r) 38 Thread::~Thread() 45 int Thread::Start(void [all...] |
/external/compiler-rt/test/tsan/ |
thread_leak3.c | 5 void *Thread(void *x) { 11 pthread_create(&t, 0, Thread, 0); 16 // CHECK: WARNING: ThreadSanitizer: thread leak 17 // CHECK: SUMMARY: ThreadSanitizer: thread leak{{.*}}main
|
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
osThreadWin.cpp | 22 Thread::Thread() : 29 Thread::~Thread() 37 Thread::start() 40 m_thread = CreateThread(NULL, 0, &Thread::thread_main, this, 0, &m_threadId); 48 Thread::wait(int *exitStatus) 72 Thread::trywait(int *exitStatus) 95 Thread::thread_main(void *p_arg) 97 Thread *self = (Thread *)p_arg [all...] |
/external/valgrind/main/drd/tests/ |
boost_thread.stderr.exp | 2 Thread 1. 3 Thread 2.
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
thread.h | 2 * thread.h, thread class 32 class Thread : public RunnableInterface { 34 Thread(); 35 Thread(RunnableInterface *r); 36 ~Thread(); 44 * when the class is derived from Thread class
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadFactory.java | 10 * An object that creates new threads on demand. Using thread factories 11 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 12 * enabling applications to use special thread subclasses, priorities, etc. 18 * public Thread newThread(Runnable r) { 19 * return new Thread(r); 24 * useful simple implementation, that sets the created thread context 32 * Constructs a new {@code Thread}. Implementations may also initialize 35 * @param r a runnable to be executed by new thread instanc [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadTest.java | 15 static class MyHandler implements Thread.UncaughtExceptionHandler { 16 public void uncaughtException(Thread t, Throwable e) { 28 Thread current = Thread.currentThread(); 45 // assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); 51 Thread current = Thread.currentThread(); 54 Thread.setDefaultUncaughtExceptionHandler(eh); 55 assertEquals(eh, Thread.getDefaultUncaughtExceptionHandler()); 56 Thread.setDefaultUncaughtExceptionHandler(null) [all...] |
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.h | 28 struct Thread { 36 Thread *thr; 38 Callback(Thread *thr); 59 void ThreadInit(Thread *thr); 60 void ThreadDestroy(Thread *thr); 62 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 63 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 64 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 65 void MutexDestroy(Thread *thr, uptr m);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |
/art/test/039-join-main/src/ |
Main.java | 18 * Make sure that a sub-thread can join the main thread. 22 Thread t; 24 t = new Thread(new JoinMainSub(Thread.currentThread()), "Joiner"); 25 System.out.print("Starting thread '" + t.getName() + "'\n"); 28 try { Thread.sleep(1000); } 36 private Thread mJoinMe; 38 public JoinMainSub(Thread joinMe) {
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ThreadControllerWrapper.java | 33 public static Thread runThread(Runnable runnable, int priority) 38 public static void waitThread(Thread worker, Runnable task) 45 * Thread controller utility class for incremental SAX source. Must 46 * be overriden with a derived class to support thread pooling. 48 * All thread-related stuff is in this class. 54 * Will get a thread from the pool, execute the task 55 * and return the thread to the pool. 63 * @return The thread that is running the task, can be used 66 public Thread run(Runnable task, int priority) 69 Thread t = new Thread(task) [all...] |
/art/runtime/arch/mips/ |
thread_mips.cc | 17 #include "thread.h" 24 void Thread::InitCpu() { 30 void Thread::CleanupCpu() {
|
/external/chromium_org/sandbox/linux/services/ |
thread_helpers.h | 11 namespace base { class Thread; } 24 // Stop |thread| and ensure that it does not have an entry in 25 // /proc/self/task/ from the point of view of the current thread. This is 28 base::Thread* thread);
|